DEV Community

shubham mishra
shubham mishra

Posted on • Originally published at developerindian.com

css interview questions and answers 2023 -dev.to

  1. What is Position related
  2. What is Pseudo css?
  3. What is the Box model in CSS?
  4. What are the advantages of using CSS?
  5. What are the limitations of CSS?
  6. What is CSS and how does it work with HTML?
  7. What are selectors and what are their different types?
  8. What is CSS selector specificity and how does it work?
  9. Describe z-index and how stacking context is formed.
  10. Describe BFC (Block Formatting Context) and how it works.
  11. Have you ever used a grid system, and if so, what do you prefer?
  12. Have you used or implemented media queries or mobile specific layouts/CSS?
  13. Explain how a browser determines what elements match a CSS selector.
  14. Describe pseudo-elements and discuss what they are used for.
  15. Explain your understanding of the box mode.
  16. What does * { box-sizing: border-box; } do? What are its advantages?
  17. What is the CSS display property and can you give a few examples of its use?
  18. What's the difference between inline and inline-block?
  19. What's the difference between the "nth-of-type()" and "nth-child()" selectors?
  20. What's the difference between a relative, fixed, absolute and statically positioned element?
  21. What existing CSS frameworks have you used locally, or in production? How would you change/improve them?
  22. Have you used CSS Grid?

Top comments (0)