letter-spacing
Text
The space between letters; tightening it slightly suits large headings.
| How to write it | letter-spacing: normal; |
|---|---|
| Common values | normal, 0.02em, -0.5px |
| Inherited | Yes — children receive it |
| Category | Text |
How to read this
- An inherited property only needs writing once on the parent — every child picks it up. Most text properties work this way.
- A shorthand resets whatever you leave out. Writing background: red alone also wipes a background image you set earlier.
- When rules collide, the more specific selector wins; only when specificity ties does source order decide.
- Animate transform and opacity for smoothness. Changing width or top forces the layout to be recalculated.
Frequently asked questions
Q. What is the CSS letter-spacing property?
The space between letters; tightening it slightly suits large headings.
Q. How do you write letter-spacing?
As letter-spacing: normal; Common values include normal, 0.02em, -0.5px.
Q. Is letter-spacing inherited?
Yes. Set it once on the parent and every child uses the same value without repeating it.
Q. What group does letter-spacing belong to?
The text group.