DEV Community

Discussion on: CSS Interview Questions Feedback

Collapse
 
afif profile image
Temani Afif

I would add a question around block, inline-block and float. Those concepts will allow you to judge the level of the candidate. If when talking about float, the candidate will mention clearing float then it's a good point for him (if clearing is something strange to him then he's a beginner). Same for inline-block and the whitespace issue. It's also important to see how he will compare all of them. A CSS wizard will talk about BFC, IFC and anonymous boxes while a beginner will talk about next to each other and below each other.

You can also ask: "give me 5 properties that result in a creation of a containing block for position:fixed elements ?" 😜 if he gives you one then you should definitely hire him 😉