css-exam 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right? A. padding:10px 10px 0px 0px; B. padding:10px 0px ; C. padding:10px 0; D. padding:10px 0px 10px 0px; 2 / 15 2. The default value of "position" attrubute is? A. fixed B. absolute C. inherit D. static 3 / 15 3. Which of the following property sets list-style-type, list-style-position, and liststyle-image? A. style B. list-style C. menu-style D. img-style 4 / 15 4. 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 5 / 15 5. Which Of The Following Selector Selects An Element That Has No Children? A. :nochild B. :empty C. :inheritance D. :no-child 6 / 15 6. 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-play-state D. animation-fill-mode 7 / 15 7. If we don't want to allow a floating div to the left side of an element, which CSS property will we use? A. margin B. clear C. float D. padding 8 / 15 8. 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. 9 / 15 9. 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 10 / 15 10. When using flexbox, the 'justify-content' property can be used to distribute the space between the flex items along the main axis. Which value should be used to evenly distribute the flex items within the container shown below. A. justify-content:center; B. justify-content:space-around; C. justify-content:auto; D. justify-content:space-between; 11 / 15 11. What is the difference between the margin and padding properties? A. Margin adds space around and inside of an element; Padding adds space only inside on an element. B. Margin adds space around an element; Padding adds space inside of an element. C. Margin adds a line around element; Padding adds space inside of an element. D. Margin adds space inside of an element; Padding adds space around an element. 12 / 15 12. 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. 13 / 15 13. The CSS property that is equivalent to the align attribute is: A. text-align B. float C. text-align and float D. center 14 / 15 14. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 15 / 15 15. Which of the following is only for table elements? A. initial B. collapse C. hidden D. inherit Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin