Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

CSS Dictionary

  1. Home
  2. CSS Dictionary
  3. letter-spacing

letter-spacing

Specifies the spacing between characters (horizontal spacing between letters).

Sample Code

p.test { letter-spacing: normal;}
p.test1 { letter-spacing: 10px;}
p.test2 { letter-spacing: 0.8rem;}
p.test3 { letter-spacing: -2px;}

Available Values

ValueDescription
normalLeaves the character spacing up to the browser. In most cases, the spacing defined in the font is used as-is. This is the initial value.
numberSpecifies the character spacing as a numeric value. Supported units include 'px', 'pt', '%', 'em', 'rem', etc. Negative values are allowed.

Browser Display Result

<p style="letter-spacing: 10px">This is a p element with 'letter-spacing: <span style="color: #f00;">10px</span>'.</p>

<p style="letter-spacing: 0.8rem">This is a p element with 'letter-spacing: <span style="color: #f00;">0.8rem</span>'.</p>

<p style="letter-spacing: -2px;">This is a p element with 'letter-spacing: <span style="color: #f00;">-2px;</span>'.</p>

Browser Compatibility

Chrome Chrome
1+
Firefox Firefox
1+
Safari Safari
1+
Edge Edge
12+
Supported in all versions
IE IE
11
10
9
8
7
6
Opera Opera
3.5+
2 and earlier ×
iOS Safari iOS Safari
1+
Android Android Browser
4.4+
3 and earlier ×
Chrome Android Chrome Android
Latest
Same support as desktop
Firefox Android Firefox Android
Latest
Same support as desktop

※ Version data is based on MDN.

If you find any errors or copyright issues, please .