CSS language notes <2>. css language notes
CSS attribute size attribute
All html elements have width and height. In CSS, px is used to indicate the size. You can also use the percent sign "% ".
Px: pixel
Width: width
Height: height
Border: border
Padding: padding
Margin: margin
Backgroun: Background
Font attributes
Font-family: Set the font
Font-weight: width, value: bold (bold)
Font-style: italic; Value: italic (italic)
Font-size: Text size
Font: abbreviated form
Text attributes
Color: color, value: can be a word, 10 hexadecimal, or 16 hexadecimal
Text-align: horizontal alignment of text; Value: left, center, right)
Text-decoration: modifier line. Values: none, underline, overline, and line-through)
Text-indent: indent the first line, expressed in pixels, for example, text-indent: 24px; indent 24 pixels.
Letter-spacing: The spacing of words, same as above, in pixels.
Line-height: The Row height, same as above. It can be expressed in percentages or pixels.
To be continued ....