Word-spacing part 2
Measurement Units
To define an extra space between words, you can use positive measurement values like px, pt, pc, cm, mm, inches, em, and ex.
Negative values are also permitted. Here is an example to show the difference.
The HTML:<p class="positive">This paragraph is word-spaced at 20px.</p>
<p class="negative">This paragraph is word-spaced at -5px.</p>
The CSS:
Result:
Tap Try It Yourself to play around with the code!
Comments
Post a Comment