css-fonts Flashcards

1
Q

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

A

pixels and rm/em(percentages of the parent container, em is not used as often)
percentages?

Avoid percentages when it come to fonts

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

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

A

font-family . Use “family” bc there is backup fonts.

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