CSS Interview questions
August 15, 2020
Those are just some random questions I sometimes ask when evaluating junior developers.
⭐
-
What will these lines do ?
.header { color: red; } #header { color: yellow; } .header > h1 { color: blue; } input.header { color: brick; } div.header { color: brown; }
-
<div class="header"> Hello, world! </div>
- Name 2 CSS styling frameworks
⭐⭐
- How would you build a responsive interface ?
- What is the difference margin vs padding ?
- What are CSS preprocessors ?