The best CSS letter-spacing property Tutorial In 2024, In this tutorial you can learn Examples,Attribute definitions and instructions,Browser Support,Property Value,related articles,
Set to h1 and h2 elements of letter-spacing:
letter-spacing property increases or decreases blank (character spacing) between characters
Defaults: | normal |
---|---|
inherit: | yes |
version: | CSS1 |
JavaScript syntax: | object .style.letterSpacing = "3px" |
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
letter-spacing | 1.0 | 4.0 | 1.0 | 1.0 | 3.5 |
value | description |
---|---|
normal | default. Between the provisions of the characters do not have extra space. |
length | Fixing space defined between the characters (Negative values are allowed). |
inherit | Provisions should inherit the property letter-spacing value from the parent element. |
CSS tutorial: CSS the Text