Educational guide to letter-spacing
Adjust spacing without losing the word
Compare normal, positive, and negative tracking. Learn what inherits, how each unit scales, and why the same setting does not suit every writing system.
Mental model
letter-spacing adds or removes space between typographic units of text. This adjustment is called tracking: it preserves letter shapes and changes how much space the text occupies on the line.
- Font and shape
Glyphs, their metrics, and kerning provide the starting spacing. Kerning adjusts specific pairs, such as AV.
- Added space
A positive value opens up the text; a negative one tightens it. The adjustment affects units recognized by the shaping engine, rather than each Unicode code point separately.
- Line layout
Changing text width can change line breaks. Use word-spacing for the space between words and gap to separate boxes.
normal, zero, and lengths
normal is the initial value and adds no tracking. A length sets how much to add or remove. An explicit zero adds no space either; it does not remove the font’s kerning.
The same text with four settings
letter-spacing: normal
Read between the lines
letter-spacing: 0
Read between the lines
letter-spacing: -0.025em
Read between the lines
letter-spacing: 0.08em
Read between the lines
Start with normal and compare small changes at the actual reading size. The negative value is a test, not a universal recommendation: check accents, punctuation, and whole words in the font actually used.
Units and inheritance
em uses the font size of the element declaring the length; rem uses the root size, and px sets a CSS length. The property inherits: an already computed em length passes to the descendant as a length, rather than a new proportion.
Resizing text does not recalculate an inherited em
0.08em on the parent; the descendant inherits
Read between the lines
Read between the lines
0.08em on the parent and declared again on the descendant
Read between the lines
Read between the lines
Use em to tie the adjustment to the local size and declare it wherever it should be recalculated. With rem, the adjustment follows the root even if the local size changes. No unit guarantees legibility on its own.
Tracking across writing systems
Scope an adjustment to text you have reviewed. In connected scripts such as Arabic, separating letters can break their joins; the engine may suppress spacing or handle it differently. Do not automatically transfer Latin tracking to other writing systems.
A local decision in multilingual text
Latin text · 0.08em
Read between the lines
Arabic · normal and RTL direction
مرحبا بالعالم
Japanese · normal
読みやすい文字
normal is this recipe’s starting point, not a ban on tracking all Japanese text. For CJK, Indic scripts, or text with combining marks, review language conventions, the font, and native rendering with readers of that writing system.
Common pitfalls
Tightening text until it fits
- Expected result
- Words and punctuation remain easy to distinguish.
- Cause
- Very negative tracking overlaps strokes; very positive tracking fragments words.
- Solution
- Review the available width, allow reflow, and compare a smaller adjustment. Do not force a single line at the expense of reading.
The same tracking reaches every language
- Expected result
- Each writing system keeps its shapes and connections.
- Cause
- The property was set on a broad container and inherited by other text.
- Solution
- Target the specific text and keep normal wherever you have not validated it. Set lang and dir where appropriate.
Enlarged text gets clipped
- Expected result
- Content stays available when users change text spacing.
- Cause
- A fixed height, nowrap, or overflow clipping prevents text from growing.
- Solution
- Let the block grow and test reflow. WCAG 1.4.12 requires tolerating 0.12em tracking alongside the criterion’s other adjustments without losing content or functionality; it does not require that as the initial style.
Support and compatibility
normal and lengths are Baseline Widely Available. CSS Text Level 4 percentages have more recent support: BCD lists Chrome 145, Firefox 133, and Safari 17.4 as the first versions. The percentage uses the element’s font size, not its container’s width.
A length before the percentage
Base · 0.08em
Read between the lines
Progressive enhancement · 8% if accepted
Read between the lines
The playground already offers percentages. Accepting syntax with @supports does not certify rendering for every writing system or ensure legibility. An unchanged preview does not prove missing support either: compare the applied CSS and the font actually used.