CSS Conceptual Questions
Answers will available soon
Will update list of questions too.
-
What is CSS and how does it work with HTML?
-
What are selectors and what are their different types?
-
What is CSS selector specificity and how does it work?
-
Describe z-index and how stacking context is formed.
-
Describe BFC (Block Formatting Context) and how it works.
-
Have you ever used a grid system, and if so, what do you prefer?
-
Have you used or implemented media queries or mobile specific layouts/CSS?
-
Explain how a browser determines what elements match a CSS selector.
-
Describe pseudo-elements and discuss what they are used for.
-
Explain your understanding of the box mode.
-
What does * { box-sizing: border-box; } do? What are its advantages?
-
What is the CSS display property and can you give a few examples of its use?
-
What’s the difference between inline and inline-block?
-
What’s the difference between the “nth-of-type()” and “nth-child()” selectors?
-
What’s the difference between a relative, fixed, absolute and statically positioned element?
-
What existing CSS frameworks have you used locally, or in production? How would you change/improve them?
-
Have you used CSS Grid?