css-exam 0 votes, 0 avg 569 123456789101112131415 CSS Questions 1 / 15 1. 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 2 / 15 2. The CSS property used to set the distance between the borders of the adjacent cells in the table is__________ A. border-collapse B. cell-collapse C. cell-spacing D. border-spacing 3 / 15 3. Which selector do we use to specify the rule for binding some particular unique element? A. Class B. id C. Tags D. both tags and class 4 / 15 4. Which Event Will Be Used When A Connection To The Server Is Opened. A. Onmessage B. Onopen C. Onerror D. none of the above 5 / 15 5. 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. 6 / 15 6. Which value specifies a transition effect with a slow start, then fast, then end slowly? A. ease B. linear C. ease-in D. ease-out 7 / 15 7. Which of the following CSS Property determines whether an animation should run in reverse on some cycles? A. animation B. animation-run C. animation-repeat D. none of the above 8 / 15 8. 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 9 / 15 9. 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 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. The default value of "position" attribute is___________ A. fixed B. absolute C. inherit D. relative 12 / 15 12. How do you comment in CSS file? A. //this is a coment// B. /* this is a comment */ C. //this is a comment D. <!-- this is a comment --> 13 / 15 13. Which of the following is used to specify the subscript of text using CSS? A. align: subscript B. vertical-align: subscript C. vertical-align: sub D. alignment:sub 14 / 15 14. 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; 15 / 15 15. 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 Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin