css letter-spacing property
Translation results:
letter
UK[ˈletə(r)] US[ˈlɛtɚ]
n. Letter; certificate, license; letter, text; literal meaning
vt. Indicate with letters; write letters in; add titles
vi. Write printed letters
spacing
##英[ˈspeɪsɪŋ ] 美[ˈspesɪŋ] n. Spacing, spacing; span; density; leaving gapscss letter-spacing propertysyntax
Function: letter-spacing property increases or decreases the space between characters (character spacing).
Description: This attribute defines how much space is inserted between text character boxes. Because character glyphs are typically narrower than their character boxes, specifying a length value adjusts the usual spacing between letters. Therefore, normal is equivalent to a value of 0.
Note: All browsers support the letter-spacing attribute. The attribute value "inherit" is not supported in any version of Internet Explorer (including IE8).
css letter-spacing propertyexample
<html> <head> <style type="text/css"> h1 {letter-spacing: -0.5em} h4 {letter-spacing: 20px} </style> </head> <body> <h1>This is header 1</h1> <h4>This is header 4</h4> </body> </html>
Click the "Run instance" button to view the online instance