Chat with us directly!
Get 20% off the annual plan with the code FALL23
or check out other
promotions
Dismiss
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
1051 completed
What does `* { box-sizing: border-box; }` do?
Importance
High
Topics
CSS
Users completed
1081 completed
What is CSS selector specificity and how does it work?
Importance
High
Topics
CSS
Users completed
910 completed
What is the CSS `display` property and can you give a few examples of its use?
Importance
High
Topics
CSS
Users completed
914 completed
What's the difference between a `relative`, `fixed`, `absolute` and `static`-ally positioned element?
Importance
High
Topics
CSS
Users completed
787 completed
What's the difference between `inline` and `inline-block`?
Importance
High
Topics
CSS
Users completed
757 completed
Explain how a browser determines what elements match a CSS selector.
Importance
High
Topics
CSS
Users completed
732 completed
Have you played around with the new CSS Flexbox or Grid specs?
Importance
High
Topics
CSS
Users completed
721 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
619 completed
Describe Block Formatting Context (BFC) and how it works.
Importance
Mid
Topics
CSS
Users completed
287 completed
Describe `float`s and how they work.
Importance
Mid
Topics
CSS
Users completed
339 completed
Describe pseudo-elements and discuss what they are used for.
Importance
Mid
Topics
CSS
Users completed
371 completed
Describe `z-index` and how stacking context is formed.
Importance
Mid
Topics
CSS
Users completed
352 completed
Explain CSS sprites, and how you would implement them on a page or site.
Importance
Mid
Topics
CSS
PERFORMANCE
Users completed
319 completed
Have you ever used a grid system, and if so, what do you prefer?
Importance
Mid
Topics
CSS
Users completed
306 completed
How do you serve your pages for feature-constrained browsers?
Importance
Mid
Topics
CSS
Users completed
265 completed
How is responsive design different from adaptive design?
Importance
Mid
Topics
CSS
Users completed
285 completed
How would you approach fixing browser-specific styling issues?
Importance
Mid
Topics
CSS
Users completed
277 completed
What are the advantages/disadvantages of using CSS preprocessors?
Importance
Mid
Topics
CSS
Users completed
274 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
269 completed
What's the difference between "resetting" and "normalizing" CSS?
Importance
Mid
Topics
CSS
Users completed
256 completed
Are you familiar with styling SVG?
Importance
Low
Topics
CSS
Users completed
211 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
215 completed
Can you give an example of an `@media` property other than `screen`?
Importance
Low
Topics
CSS
Users completed
157 completed
Describe what you like and dislike about the CSS preprocessors you have used.
Importance
Low
Topics
CSS
Users completed
180 completed
Have you ever worked with retina graphics?
Importance
Low
Topics
CSS
Users completed
160 completed
Have you used or implemented media queries or mobile-specific layouts/CSS?
Importance
Low
Topics
CSS
Users completed
182 completed
What are some of the "gotchas" for writing efficient CSS?
Importance
Low
Topics
CSS
Users completed
245 completed
What are the various clearing techniques and which is appropriate for what context?
Importance
Low
Topics
CSS
Users completed
164 completed
What existing CSS frameworks have you used locally, or in production?
Importance
Low
Topics
CSS
Users completed
190 completed