Questions About CSS Flashcards

(32 cards)

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?

17
Q

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

18
Q

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

19
Q

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

20
Q

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

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.

22
Q

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

23
Q

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

24
Q

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

25
What's the difference between the "nth-of-type()" and "nth-child()" selectors?
26
What's the difference between a relative, fixed, absolute and statically positioned element?
27
What existing CSS frameworks have you used locally, or in production? How would you change/improve them?
28
Have you used CSS Grid?
29
Can you explain the difference between coding a web site to be responsive versus using a mobile-first strategy?
30
Have you ever worked with retina graphics? If so, when and what techniques did you use?
31
Is there any reason you'd want to use translate() instead of absolute positioning, or vice-versa? And why?
32
How is clearfix css property useful?