CSS (3/16) Flashcards

1
Q

What is a pseudo-class?

A

Defines a special state of an element.

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

What are CSS pseudo-classes useful for?

A

Style an element when a user mouses over it
Style visited and unvisited links differently
Style an element when it gets focus

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

Name two types of units that can be used to adjust font-size in CSS.

A

mm

cm

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

What CSS property controls the font used for the text inside an element?

A

font

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

What is the default flex-direction of a flex container?

A

row

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

What is the default flex-wrap of a flex container?

A

nowrap

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