CSS styles for commonly used text:
Color sets the colour of the text, such as: color:red;
Font-size set the size of the text, such as: font-size:12px;
font-family Set the text font, such as: font-family: ' Microsoft ya Black ';
Font-style Set the font tilt, such as: Font-style: ' normal '; Set no tilt, Font-style: ' Italic '; set text skew
Font-weight set the text whether bold, such as: Font-weight:bold; Set bold Font-weight:normal setting not bold
Font set several properties of the text at the same time, the order of writing has compatibility problems, it is recommended to write in the following order: font: Whether bold font size/line height, such as: Font:normal 12px/36px ' Microsoft Ya Black ';
Line-height set the line height of the text, such as: line-height:24px;
Text-decoration set the underline of the text, such as: Text-decoration:none; Remove the text underline
Text-indent set the first line of text indentation, such as: text-indent:24px; Set the first line of text indent 24px
Text-align Set Text horizontal alignment, such as Text-align:center set text to center horizontally
CSS text settings