font Flashcards

1
Q

What are the generic font families?

A

In CSS there are five generic font families:

Serif fonts have a small stroke at the edges of each letter. They create a sense of formality and elegance.

Sans-serif fonts have clean lines (no small strokes attached). They create a modern and minimalistic look.

Monospace fonts - here all the letters have the same fixed width. They create a mechanical look.

Cursive fonts imitate human handwriting.

Fantasy fonts are decorative/playful fonts.

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

font-family

A

font-family: fontName, fallback, family

specifies the font for the content

use a fallback

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

Font Pairings

A

“Georgia” for headings, “Verdana” for sections //web safe

“Helvetica” for headings, “Garamond” for sections

–Google Font
“Merriweather” font for headings, and “Open Sans” for sections

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

font-size: 2em

A

*em is relative to the current font-size
2 em would be double the current parent.

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

font-size

A

specifies the size of the font, the default size for browsers is 16px

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

font-style, font-weight

A

font-style is for italics

normal - The text is shown normally
italic - The text is shown in italics
oblique - The text is “leaning” (less supported)

font-weight is for bold
normal, bold

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