CSS Questions March 14, 2023 | No Comments 0 votes, 0 avg 543 123456789101112131415 CSS Questions 1 / 15 1. Which of the following CSS Gradient Functions sets the direction and colors of a gradient that fades from one color to the next in a straight line? A. gradient() B. line-gradient() C. linear-gradient() D. none of the above 2 / 15 2. 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 3 / 15 3. 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. 4 / 15 4. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 5 / 15 5. 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;} 6 / 15 6. Which of the following property influences the horizontal alignment of an element, making it “float” toward the left or right margin of its containing element? A. float B. float-left C. float-right D. float-align 7 / 15 7. 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 8 / 15 8. Which one of these is NOT an appropriate value for the font-variant property? A. small-caps B. large-caps C. default D. inherit 9 / 15 9. 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 10 / 15 10. 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 11 / 15 11. Using an attribute selector, how would you select an a tag element with a ‘title’ attribute? A. a[title]{…} B. a>title{…} C. a.title{…} D. a=title{…} 12 / 15 12. Which of the following will provide date pickers? A. jQuery UI B. Niceforms C. WebShim D. Bootstrap 13 / 15 13. If a particular should never be overridden by another rule, the _______ indication should be used. A. !important! B. important! C. !important D. ?important 14 / 15 14. 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 15 / 15 15. The default value of “position” attribute is___________ A. fixed B. absolute C. inherit D. relative Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By WordPress Quiz plugin Questions, Quiz