Letter-spacing part 1

The letter-spacing Property



The letter-spacing property specifies the space between characters in a text. The values can be set as:
normal defines the default style with no extra space between characters
length defines an extra space between characters using measurement units like px, pt, cm, mm, etc.;
inherit inherits the property from its parent element;

The HTML:<p class="normal">This paragraph has no additional letter-spacing applied.</p>
<p class="positive ">This paragraph is letter-spaced at 4px.</p>

The CSS:
p.normal {
letter-spacing: normal;
}
p.positive {
letter-spacing: 4px;
}
Try It Yourself

Result:
Tap Try It Yourself to play around with the code!

Comments

Popular posts from this blog

font-family part 1