Chat with us directly!
Enjoy 20% off all plans by
following us on social media
. Check out other
promotions
!
Dismiss
Interviews
Dashboard
Practice questions
Guides
Pricing
Sign in / up
Get full access
Practice by framework
60+ questions
JavaScript
HTML
CSS
React
Angular
Svelte
CSS Questions
60+ CSS interview questions, including quiz-style knowledge questions and CSS coding questions.
Try these popular CSS questions
Explain your understanding of the box model and how you would tell the browser in CSS to render your layout in different box models.
Topics
CSS
What does `* { box-sizing: border-box; }` do?
Topics
CSS
Coding
Quiz
Topic
JavaScript
CSS
HTML
Accessibility
Internationalization
Performance
Network
Security
Testing
Search quiz questions
Sort by
Number of questions
30 questions
Total time
3 hours total
Questions List
Explain your understanding of the box model and how you would tell the browser in CSS to render your layout in different box models.
Importance
High
Topics
CSS
Users completed
1787 completed
What does `* { box-sizing: border-box; }` do?
Importance
High
Topics
CSS
Users completed
1847 completed
What is CSS selector specificity and how does it work?
Importance
High
Topics
CSS
Users completed
1531 completed
What is the CSS `display` property and can you give a few examples of its use?
Importance
High
Topics
CSS
Users completed
1563 completed
What's the difference between a `relative`, `fixed`, `absolute` and `static`-ally positioned element?
Importance
High
Topics
CSS
Users completed
1346 completed
What's the difference between `inline` and `inline-block`?
Importance
High
Topics
CSS
Users completed
1299 completed
Explain how a browser determines what elements match a CSS selector.
Importance
High
Topics
CSS
Users completed
1148 completed
Have you played around with the new CSS Flexbox or Grid specs?
Importance
High
Topics
CSS
Users completed
1170 completed
Is there any reason you'd want to use `translate()` instead of `absolute` positioning, or vice-versa? And why?
Importance
High
Topics
CSS
PERFORMANCE
Users completed
1012 completed
Describe Block Formatting Context (BFC) and how it works.
Importance
Mid
Topics
CSS
Users completed
487 completed
Describe `float`s and how they work.
Importance
Mid
Topics
CSS
Users completed
587 completed
Describe pseudo-elements and discuss what they are used for.
Importance
Mid
Topics
CSS
Users completed
642 completed
Describe `z-index` and how stacking context is formed.
Importance
Mid
Topics
CSS
Users completed
597 completed
Explain CSS sprites, and how you would implement them on a page or site.
Importance
Mid
Topics
CSS
PERFORMANCE
Users completed
539 completed
Have you ever used a grid system, and if so, what do you prefer?
Importance
Mid
Topics
CSS
Users completed
537 completed
How do you serve your pages for feature-constrained browsers?
Importance
Mid
Topics
CSS
Users completed
449 completed
How is responsive design different from adaptive design?
Importance
Mid
Topics
CSS
Users completed
487 completed
How would you approach fixing browser-specific styling issues?
Importance
Mid
Topics
CSS
Users completed
471 completed
What are the advantages/disadvantages of using CSS preprocessors?
Importance
Mid
Topics
CSS
Users completed
474 completed
What are the different ways to visually hide content (and make it available only for screen readers)?
Importance
Mid
Topics
CSS
ACCESSIBILITY
Users completed
461 completed
What's the difference between "resetting" and "normalizing" CSS?
Importance
Mid
Topics
CSS
Users completed
450 completed
Are you familiar with styling SVG?
Importance
Low
Topics
CSS
Users completed
371 completed
Can you explain the difference between coding a website to be responsive versus using a mobile-first strategy?
Importance
Low
Topics
CSS
Users completed
395 completed
Can you give an example of an `@media` property other than `screen`?
Importance
Low
Topics
CSS
Users completed
307 completed
Describe what you like and dislike about the CSS preprocessors you have used.
Importance
Low
Topics
CSS
Users completed
321 completed
Have you ever worked with retina graphics?
Importance
Low
Topics
CSS
Users completed
282 completed
Have you used or implemented media queries or mobile-specific layouts/CSS?
Importance
Low
Topics
CSS
Users completed
314 completed
What are some of the "gotchas" for writing efficient CSS?
Importance
Low
Topics
CSS
Users completed
405 completed
What are the various clearing techniques and which is appropriate for what context?
Importance
Low
Topics
CSS
Users completed
284 completed
What existing CSS frameworks have you used locally, or in production?
Importance
Low
Topics
CSS
Users completed
327 completed