Grammar:
Letter-spacing:normal | Length
Parameters:
Normal: Default interval
Length: A value consisting of a floating-point number and a unit identifier that is allowed to be negative. See Length Units
Description
Retrieves or sets the interval between the text in an object.
This property adds the specified interval to each text, but the last word is excluded.
The corresponding script attribute is letterspacing. Please refer to the other bibliography I have written.
Example:
div {letter-spacing:6px;} div {letter-spacing:0.5pt;}
What's the difference between letter-spacing and word-spacing?
word-spacing Properties in CSS
1. Retrieves or sets the number of spaces inserted between the words in the object. A length value consisting of a floating-point number and a unit identifier that is allowed to be negative.
2, the default value is normal, equivalent to set to 0
3. CSS defines "word" as a string of any non-whitespace character and is surrounded by some kind of whitespace. This definition has no practical semantics, it simply assumes that a document contains a word surrounded by one or more whitespace characters. CSS-enabled user agents do not necessarily determine which of the languages are legal and which are not. Although this definition does not have much value, it means that the language used in hieroglyphs or non-Roman writing is often unable to specify word spacing.
4. Using this property, you may create documents that are too wide in word spacing, so be careful when using word-spacing.
Second, the Letter-spacing property in CSS
1. Set the spacing between the text in the object. The distance between each medium text and the English letter is separated by the spacing that is controlled. The attribute value is both Chinese and English.
2, the default value is normal, equivalent to set to 0
3, with letter-spacing only to the text function for the picture fails
4, with letter-spacing on Chinese characters are separated by a word for English is a letter spaced
The Word-spacing property increases or decreases the space between words (that is, the word interval).
The Letter-spacing property increases or decreases whitespace between characters (character spacing).
Word-spacing (Word interval): This is some text. This is some text. This is some text. This is some text.letter-spacing (character spacing): T H i s i s H e a d e R 4