DEV Community

shubham mishra
shubham mishra

Posted on • Originally published at developerindian.com

1

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?

Sentry blog image

How to reduce TTFB

In the past few years in the web dev world, we’ve seen a significant push towards rendering our websites on the server. Doing so is better for SEO and performs better on low-powered devices, but one thing we had to sacrifice is TTFB.

In this article, we’ll see how we can identify what makes our TTFB high so we can fix it.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay