Letter space IN CSS
Letter space [letter-spacing]
The spacing between text characters can be specified using the property
letter-spacing
. The value of the property is simply the desired width. For example, if you want a spacing of 3px between the letters in a text paragraph <p>
and 6px between letters in headlines <h1>
the code below could be used.
h1 {
letter-spacing: 6px;
}
p {
letter-spacing: 3px;
}
Comments
Post a Comment