css-exam 0 votes, 0 avg 561 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. Which statement regarding icon fonts is true? A. Icon fonts can be inserted only using JavaScript. B. Icon fonts can be styled with typography-related properties such as font-size and color. C. Icon fonts are inserted as inline images. D. Icon fonts require browser extension. 3 / 15 3. 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 4 / 15 4. 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 5 / 15 5. Which of the following CSS property is used to specify the space between every letter inside an element? A. character-spacing B. letterSpacing C. letter-spacing D. characterSpacing 6 / 15 6. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 7 / 15 7. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize 8 / 15 8. Which of the following selector selects the element that is the first child of its parent that is of its type? A. ::first-letter B. ::first-line C. :last-child D. :first-of-type 9 / 15 9. Which of the following CSS Gradient Functions creates a circular, and optionally sets its shape, size, and position? A. radial-gradient() B. circular-gradient() C. elliptical-gradient() D. none of the above 10 / 15 10. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child 11 / 15 11. There are many properties that can be used to align elements and create page layouts such as float,postion,flexbox and grid. Out of these four properties, which one should be used to align a global navigation bar which stays fixed at the top of the page? A. position B. flexbox C. grid D. float 12 / 15 12. Which variable defines the data type of the content in CSS? A. data_type B. content_type C. http_cookie D. http_user_agent 13 / 15 13. Three of these choices are tue about class selectors. Which is NOT true? A. Multiple classes can be used within the same element. B. The same class can be used multiple times per page. C. Class selectors with a leading period. D. Classes can be used multiple times per page but not within the same element. 14 / 15 14. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 15 / 15 15. Which of the following attributes is used to specify elements to bind style rules to? A. Id B. Class C. Tag D. all of the above Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin