1. Color property: Sets the color of the text. No default value
- Color can be specified using color name, HEX, RGB, RGBA, HSL, HSLA, Transparent.
As shown in the code, there is no color defined for the border, but the color defined is red, then red will be provided as an indirect value currentcolor to the border color property, so the final border color is also red.
2. Text-align: Sets the text horizontal alignment. Default start
Justify: content is justified, but is not processed for forced breaks (the line that is interrupted) and the last line (including only one line of text, because it is both the first and last line). (CSS3)
3. Text-indent: Sets the text indent in the object.
4. Text-transform: Set the case of objects in text
5. Text-shadow: Set text Shadow Effect and blur value
-
None
-
No shadows
-
<length>①:
-
A 1th length value is used to set the shadow horizontal offset value of the object. Can be a negative value
-
<length>②:
-
The 2nd length value is used to set the shadow vertical offset value of the object. Can be a negative value
-
<length>③:
-
If a 3rd length value is provided, the shadow blur value for the object is set. Negative values are not allowed
-
<color>:
-
sets the color of the object's shadow.
6. Word-wrap: If the content exceeds the boundaries of the specified container, whether to break the line.
-
Normal
-
Allows the content to open or overflow the specified container boundary.
-
Break-word:
-
Content will be wrapped within the boundary. If necessary, word breaks are allowed inside words.
CSS Basics-Text