css interview questions and answers 2022
- What is Position related
- What is Pseudo css?
- What is the Box model in CSS?
- What are the advantages of using CSS?
- What are the limitations of CSS?
- 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?
This Solution is provided by Shubham mishra
This article is contributed by Developer Indian team. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
Also folllow our instagram , linkedIn , Facebook , twiter account for more....