CSS MCQ Test: CSS MCQs - Practice Questions
1. What is the CSS property used to specify the color of an element's text?
2. What is the purpose of the CSS property 'z-index'?
3. What is the purpose of the CSS property 'margin'?
4. What is the purpose of the CSS property 'height'?
5. What is the purpose of the CSS property 'opacity'?
6. What does the 'text-decoration' property in CSS control?
7. In CSS, what is the purpose of the 'clearfix' class?
8. Which CSS property is used to create a smooth transition effect for element changes?
9. Which CSS pseudo-class is used to select the first child of an element?
10. Which CSS property is used to control the spacing between words in text?