(^10) text-transform: uppercase;
11 }
12
13 b {
(^14) font-variant: small-caps;
15 }
Keep in mind that the font-variant style only works if the font supports the
small-caps variant.
7. Scale
Always compose with a scale, whether it՚s the traditional scale developed in
the sixteenth century that we՚re all familiar with, or an individual one. A
scale is important because it establishes a typographic hierarchy that
improves readability and creates harmony and cohesiveness within the text.
Traditional typographic sale.
An example of a typographic scale defined in CSS:
1 h 1 {
(^2) font-size: 48px;
3 }
4