Css-language-question

Level: Intermediate

1. Explain the CSS box model and its components.
2. What is the difference between inline-block, inline, and block elements in CSS?
3. How do you use CSS Flexbox for layout?
4. What is the CSS Grid Layout and how is it different from Flexbox?
5. How do you create a responsive navigation menu using CSS?
6. Explain the difference between position: relative, position: absolute, and position: fixed in CSS.
7. How do you create a CSS sprite and what are its advantages?
8. How do you use CSS transitions and animations? Provide examples.
9. What is the z-index property in CSS and how does it work?
10. How do you create a sticky footer using CSS?
11. How can you optimize CSS performance on a website?
12. What are pseudo-elements in CSS? Give examples of their usage.
13. How do you create a tooltip using CSS?
14. How can you implement responsive typography in CSS?
15. How do you use CSS variables (custom properties)? Provide an example.
16. Explain the concept of specificity in CSS selectors.
17. How do you implement a dark mode using CSS?
18. What are vendor prefixes in CSS and when are they necessary?
19. How do you create a CSS-only dropdown menu?
20. Explain the calc() function in CSS and provide an example of its usage.
21. How do you create a CSS-only carousel/slider?
22. What are media queries in CSS and how are they used for responsive design?
23. How do you implement a parallax scrolling effect using CSS?
24. How do you create a responsive image gallery using CSS grid?
25. Explain the concept of rem and em units in CSS.
26. How do you handle browser compatibility issues in CSS?
27. How can you optimize CSS for print media?
28. How do you implement a multi-column layout using CSS?
29. Explain the transform property in CSS and give examples of its functions.
30. How do you create a CSS-only modal (popup)?
31. What is the overflow property in CSS and how can it be used?
32. How do you create a responsive table using CSS?
33. How do you center align elements vertically and horizontally in CSS?
34. What are CSS preprocessors (like SASS or LESS) and what are their advantages?
35. How do you create a responsive video player using CSS?
36. Explain the difference between flex-grow, flex-shrink, and flex-basis in Flexbox.
37. How do you create a CSS-only hamburger menu?
38. How do you create a responsive form layout using CSS?
39. How do you use CSS to create different layouts for desktop and mobile devices?
40. How do you implement smooth scrolling using CSS?
41. Explain the difference between translate() and position for moving elements in CSS.
42. How do you implement a fixed header that changes its appearance on scroll using CSS?
43. How do you create a CSS-only timeline?
44. How do you implement a masonry layout using CSS?
45. How do you create a CSS-only image slider with navigation?
46. How do you create a responsive email template using CSS?
47. How do you implement custom fonts and web fonts in CSS?
48. Explain the concept of responsive images and how they are implemented in CSS.
49. How do you create a CSS-only progress bar?
50. How do you create a CSS-only accordion menu?

Beginner Level: View

Advanced Level: View