css-exam 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. How would you make the first letter of every paragraph on the page red? A. p::first-letter{color:red;} B. p:first-letter{color:red;} C. first-letter::p{color:red;} D. first-letter:p{color:red;} 2 / 15 2. Which of these would give a block element rounded corners? A. corner-curve:10px; B. border-corner:10px C. border-radius:10px; D. corner-radius:10px; 3 / 15 3. Which of the following selector matches the name of any element type? A. The Type Selector B. The Universal Selector C. The Descedant Selector D. The Class Selector 4 / 15 4. When adding transparency styles, what is the difference between using the opacity property versus the background property with rgba() value? A. Opacity specifies the level of transparency of the child element. Background with a rgba() value applies transparency to the background color only. B. Opacity applies transparency to the background color only. Background with a rgba() value specifies the level of transparency of an element, as a whole, including its content. C. Opacity specifies the level of transparency of an element, including its content. Background with a rgba() value applies transparency to the background color only. D. Opacity applies transparency to the parent and child elements. Background with a rgba() value specifies the level of transparency of the parent element only. 5 / 15 5. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element? A. HSLa Color B. HSL Color C. RGBa Color D. RGB Color 6 / 15 6. Which model includes margin, border, padding, and content? A. CSS3 Grid Layout model B. CSS3 Flexbox Box model C. CSS Box model D. CSS Grid Template Layout Module 7 / 15 7. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content? A. background-scroll B. background-attach C. background-attachment D. background-allowance 8 / 15 8. Which of the following CSS3 property specifies the sequential navigation order for an element? A. nav B. class C. nav-index D. class-index 9 / 15 9. Which of the following property of a table element specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style? A. :border-collapse B. :border-spacing C. :caption-side D. :empty-cells 10 / 15 10. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends? A. animation-play B. animation-delay C. animation-fill-mode D. animation-play-state 11 / 15 11. Which of the following CSS Property sets the stacking order of positioned elements? A. y-index B. z-index C. x-index D. none of the above 12 / 15 12. Which of the following selector selects an element if it’s the only child of its parent? A. :nth-oftype(n) B. :only-child C. :root D. :single-child 13 / 15 13. Which of the following Viewport Property determines whether the display can be zoomed in and out? A. scale B. set-scale C. adjust-scale D. user-scalable 14 / 15 14. Identify the outline property that specifies the amount of area extended beyond the border box. A. outset3d B. inset C. outset D. inset3d 15 / 15 15. Which of the following CSS property defines how an image or video fits into container with established height and width? A. object-fit B. object-contain C. object-cover D. position:fixed Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin