1.1. font-family, font-size, font-style, font-weight, font-variant


font-family

This is a paragraph shown in serif font.

This is a paragraph shown in sans-serif font.

This is a paragraph shown in monospace font.

This is a paragraph shown in cursive font.

This is a paragraph shown in fantasy font.

font-style

This paragraph is normal.

This paragraph is italic.

This paragraph is oblique.

font-weight

This is a font with a "lighter" weight.

This is a font with a "bold" weight.

This is a font with a "bolder" weight.

This is a font with a "700" weight.

font-variant-->

font-variant

Paragraph font variant set to normal.

Paragraph font variant set to small-caps.

Nhận xét