CSS: Letter Spacing, Word Spacing

, , …,
Want to master JavaScript in a week? Example based, to the point. Xah JavaScript Tutorial.

Letter Spacing

letter-spacing:normal

letter-spacing:0.5ex

letter-spacing:0.7ex

letter-spacing:1ex

letter-spacing:2ex

Note: ex is height of the letter x. 〔☛ CSS: Understanding CSS Units

syntaxmeaning
letter-spacing:normalnormal.
letter-spacing:css lengthuse css length. ⁖ letter-spacing:2ex 〔☛ CSS: Understanding CSS Units
syntaxmeaning
letter-spacing:initialbrowser default
letter-spacing:inheritinherit from parent

Word Spacing

the alphabet song a b c. normal

the alphabet song a b c. 2ex

the alphabet song a b c. 3ex

the alphabet song a b c. 4ex

syntaxmeaning
word-spacing:normalnormal.
word-spacing:css lengthuse css length. ⁖ word-spacing:3ex. 〔☛ CSS: Understanding CSS Units
syntaxmeaning
word-spacing:initialbrowser default
word-spacing:inheritinherit from parent
blog comments powered by Disqus