css-pseudo-classes/ fonts/flex-box Flashcards

1
Q

What is a pseudo-class?

A

A pseudo-class is a selector that selects elements that are in a specific state, e.g. they are the first element of their type, or they are being hovered over by the mouse pointe

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

highlights users position

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

em
px

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-size

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