Basic CSS
- What is CSS and how is it used in web development?
- How do you add CSS to an HTML document?
- What are selectors in CSS, and how do they work?
- What is the difference between class and ID selectors?
- How do you create a comment in CSS?
- What is the box model in CSS?
- How do you apply styles to all elements of a specific type?
- What are pseudo-classes? Give an example.
- How do you center a block element?
- What is the purpose of the display property?
Intermediate CSS
- How do you make a website responsive using CSS?
- What are media queries, and how are they used?
- What is Flexbox, and how does it differ from CSS Grid?
- How do you create a CSS animation?
- What is specificity in CSS, and how does it work?
- How do you use CSS variables?
- What is the purpose of the position property, and what values can it have?
- How do you style a form to improve its appearance?