Because this is something I don't remember, so about CSS trim text & the nature of the character only need to open the CSS manual, to find (The sex > Text) & (The sex > character) to look over.
Regarding the character of the word:
| Properties Property |
Description Introduction |
| Font |
Composite properties. Set or retrieve text attributes in an object |
| Font-style |
Set or retrieve font styles in an object |
| Font-variant |
Sets or retrieves whether the text in an object is a small uppercase letter |
| Font-weight |
Sets or retrieves the thickness of the text font in an object |
| Font-size |
Set or retrieve the font size in an object |
| Font-family |
Sets or retrieves a sequence of font names used for text in an object |
| Font-stretch |
Sets or retrieves whether the text in an object is stretched horizontally. |
About the nature of the text:
| Properties Property |
Description Introduction |
| Text-indent |
Retrieves or sets the indentation of text in an object |
| Text-overflow |
Sets or retrieves whether an ellipsis tag (...) is used. ) indicates overflow of text within the object |
| Text-align |
Set or retrieve the alignment of text in an object |
| Text-transform |
Retrieves or sets the case of text in an object |
| Text-decoration |
Composite properties. Retrieves or sets the decoration of text in an object, such as underline, flicker, and so on |
| Text-decoration-line |
Retrieves or sets the position of the text decoration line in the object. |
| Text-decoration-color |
Retrieves or sets the color of the text decoration lines in an object. |
| Text-decoration-style |
Retrieves or sets the shape of the text decoration line in an object. |
| Text-shadow |
Sets or retrieves whether text in an object has a shadow or blur effect |
| Text-fill-color |
Sets or retrieves the text fill color in an object |
| Text-stroke |
Composite properties. Sets or retrieves the stroke of text in an object |
| Text-stroke-width |
Sets or retrieves the stroke thickness of text in an object |
| Text-stroke-color |
Sets or retrieves the stroke color of text in an object |
| Letter-spacing |
Retrieves or sets the interval between text in an object |
| Word-spacing |
Retrieves or sets the number of spaces inserted between words in an object. |
| Vertical-align |
Sets or retrieves the vertical alignment of an object's contents |
| Word-wrap |
Sets or retrieves whether a career change is broken when the current row exceeds the bounds of the specified container |
| White-space |
Set or retrieve the handling of spaces within an object |
| Direction |
Retrieves or sets the direction of the text flow |
| Unicode-bidi |
Used to display text that is read in different directions on the same page. Use with the Direction property |
| Line-height |
Retrieves or sets the row height of the object. That is, the distance between the bottom of the font and the top of the font |
| Tab-size |
Retrieves or sets the length of a tab in an object |
Just remember the use, check the manual for the value of the sex.
Html:css Trim text and characters