Questions About CSS Flashcards

1
Q

Please tell me about your strategy for creating responsive designs. What is it, and how do you approach the problem?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are media queries? What are pseudo-selectors?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you approach organizing your CSS?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is CSS selector specificity and how does it work?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe Floats and how they work.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe z-index and how stacking context is formed.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe BFC (Block Formatting Context) and how it works.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

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

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How would you approach fixing browser-specific styling issues?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you serve your pages for feature-constrained browsers? What techniques/processes do you use?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the different ways to visually hide content (and make it available only for screen readers)?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Have you ever used a grid system, and if so, what do you prefer?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Have you used or implemented media queries or mobile specific layouts/CSS?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Are you familiar with styling SVG?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

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

A
17
Q

What are some of the “gotchas” for writing efficient CSS?

A
18
Q

What are the advantages/disadvantages of using CSS preprocessors? Describe what you like and dislike about the CSS preprocessors you have used.

A
19
Q

How would you implement a web design comp that uses non-standard fonts?

A
20
Q

Explain how a browser determines what elements match a CSS selector.

A
21
Q

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

A
22
Q

What does * { box-sizing: border-box; } do? What are its advantages?

A
23
Q

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

A
24
Q

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

A
25
Q

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

A
26
Q

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

A
27
Q

What existing CSS frameworks have you used locally, or in production? How would you change/improve them?

A
28
Q

Have you used CSS Grid?

A
29
Q

Can you explain the difference between coding a web site to be responsive versus using a mobile-first strategy?

A
30
Q

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

A
31
Q

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

A
32
Q

How is clearfix css property useful?

A