Resource · Guide or article
CSS Interview Questions (Quiz) for Front End Interviews
Written answers to the h5bp list of CSS interview questions, for front end candidates who need to explain layout and styling concepts out loud rather than only use them.
Reviewed
Open the original: CSS Interview Questions (Quiz) for Front End Interviews (opens the original site in a new tab)Add to a roadmap
Keep this resource with a roadmap you follow. It appears as your own extra resource; the roadmap's steps don't change and it doesn't count toward your tracked steps.
Source content: English
Answers to Front-end Job Interview Questions - CSS Questions. Pull requests for suggestions and corrections are welcome!
PrepKit overview
PrepKit editors wrote and reviewed this overview from the source repository. It is not text from the resource itself.
- Suited to
- The source does not state a level
- Format
- Question list
What it covers
- Specificity calculation, resetting versus normalizing, and how browsers match selectors right to left
- Floats, clearing techniques, z-index with stacking contexts, and block formatting contexts
- Box model, box-sizing, display values, inline versus inline-block, and positioning schemes including sticky
- Responsive versus mobile-first and adaptive design, media types, srcset for high-density screens
- Preprocessor tradeoffs, efficient CSS, and translate() versus absolute positioning for animation
How to use it
PrepKit study advice, not a claim made by the source.
Cover the answers, read only the headings, and explain each topic aloud in under a minute, then compare with the page. For specificity and stacking contexts, build a small test page that proves your explanation. Done when you can answer most headings without peeking.
Scope and limitations
Some answers are dated: one says it was written in 2020, others discuss IE11 support and Bootstrap 4 in alpha, and Grid browser support is described as limited. Several answers are first-person opinions. The page points to a newer GreatFrontEnd version with referral tracking.
Access and format
Web page on frontendinterviewhandbook.com, free to read, in English. The text comes from the MIT-licensed front-end-interview-handbook repository.
Reviewed by PrepKit on Oct 2, 2026. Listing source commit: 8e867581255f
Evidence behind this overview
- website/contents/css-questions.md
Pages that include this
Get the PrepKit newsletter
Optional. You don't need it to use PrepKit.