css-exam 0 votes, 0 avg 530 123456789101112131415 CSS Questions 1 / 15 1. Which of the following CSS selectors are used to specify a group of elements? A. tag B. id C. class D. both id and class 2 / 15 2. Which of the following Media Query describe the ratio of the device width to the device height of the media? A. device-aspect B. device-aspect-ratio C. device-aspect-query D. none of the above 3 / 15 3. Which of the following is used for spread radius? A. blur B. spread C. color D. v-offset 4 / 15 4. 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; 5 / 15 5. Suppose we want to arrange 5 no of divs so that div4 is placed above div1. Now, which css property will we use to control the order of stack? A. d-index B. s-index C. x-index D. z-index 6 / 15 6. Which of the following selector in CSS is used to select the elements that do not match the selectors? A. :not selector B. :empty selector C. :! Selector D. none of the above 7 / 15 7. When we write < img src="img.png" > , what "img.png" inside double quote implies? A. element B. attribute C. value D. operator 8 / 15 8. 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;} 9 / 15 9. What is the role of pseudo-class in CSS A. Match a specified element B. Select the active links C. are used to select all the visited links D. are used to define a special state of an element 10 / 15 10. Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration? A. border-collapse B. border-width C. padding D. border 11 / 15 11. 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 12 / 15 12. Which of the following is not value for the font-stretch(Font descriptor)? A. normal B. 50% C. expanded D. ultra-expanded 13 / 15 13. What changes the shadow from an outer shadow? A. initial B. inset C. inherit D. offset 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 will be used to display border around a cell without any content? A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell Your score isThe average score is 50% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin