View on GitHub

css-conceptual-questions

CSS Conceptual Questions

Answers will available soon
Will update list of questions too.

  1. What is CSS and how does it work with HTML?

  2. What are selectors and what are their different types?

  3. What is CSS selector specificity and how does it work?

  4. Describe z-index and how stacking context is formed.

  5. Describe BFC (Block Formatting Context) and how it works.

  6. Have you ever used a grid system, and if so, what do you prefer?

  7. Have you used or implemented media queries or mobile specific layouts/CSS?

  8. Explain how a browser determines what elements match a CSS selector.

  9. Describe pseudo-elements and discuss what they are used for.

  10. Explain your understanding of the box mode.

  11. What does * { box-sizing: border-box; } do? What are its advantages?

  12. What is the CSS display property and can you give a few examples of its use?

  13. What’s the difference between inline and inline-block?

  14. What’s the difference between the “nth-of-type()” and “nth-child()” selectors?

  15. What’s the difference between a relative, fixed, absolute and statically positioned element?

  16. What existing CSS frameworks have you used locally, or in production? How would you change/improve them?

  17. Have you used CSS Grid?