Tracking
Tracking is the consistent degree of space between characters.
To adjust the amount of space between characters in CSS, use the letter-spacing:
property.
* {
letter-spacing: normal;
}
letter-spacing:
accepts these term values:
normal
(default, no extra spacing)- pixels (
px
) - points (
pt
) - percent (
%
) - ems (
em)
- …most other size terms, including negative values
As with line-height:
, this property can be passed absolute values, and the word normal
to use the default and relative values. When using relative values, please keep in mind that ems will be in relation to the font itself, and percentages will be in relation to the parent element.
“Why adjust letter spacing?”
It is sometimes useful to space characters out. However, this quality can often be used to achieve visual text effects for branding, delineating sections, or making a particular piece of content stand out.
NOTE: Negative values are valid and can be used to create a “tighter” presentation of text.
- Previous
- Next