tech-interview

What is the difference between a block level element and an inline element. Can you provide examples of each type of element?

What do you know about CSS image sprites?

Can you give an example of a pseudo class? Can you provide an example use case for a pseudo class?

How is clearfix css property useful?

How does CSS selector specificity work?

Describe what you like and dislike about the CSS preprocessors you have used.

Can you explain the difference between px, em and rem as they relate to font sizing?

What’s the difference between a relative, fixed, absolute and statically positioned element?

How many ways can you make the text disappear?

What is margins collapsing?

What’s the difference between “resetting” and “normalizing” CSS? Which would you choose, and why?

Describe Floats and how they work

Describe z-index and how stacking context is formed

What are the various clearing techniques and which is appropriate for what context?

Can you give an example of an @media property other than screen?

Explain how a browser determines what elements match a CSS selector

Explain your understanding of the box model and how you would tell the browser in CSS to render your layout in different box models

What is the CSS display property and can you give a few examples of its use?

What’s the difference between inline and inline-block?

What’s the difference between the nth-of-type() and nth-child() selectors?

Have you ever worked with retina graphics? If so, when and what techniques did you use?

Is there any reason you’d want to use translate() instead of absolute positioning, or vice-versa? And why?