createtime--2017 December 20 16:43:35
Author:marydon
1.font-family
Syntax: A property value can have one or more, separated by commas between multiple values.
Description: If the browser does not support the first font, it will try the next one, using the first value (font) it can recognize.
Example:
{ font-family: -apple-system-font,helvetica neue,helvetica,microsoft Yahei;}
Purpose: Used to set page font style
Note: There are two ways to set the font for Microsoft Ya-Black
Way One
Font-family: "Microsoft Jas Black";
Mode II (recommended)
Font-family:microsoft Yahei;
The way one declares the Chinese, you need to add double quotes.
2.font-size
Purpose: Used to set font size
Note: The value needs to be even, the Web page best font size is 12px
3.color
Purpose: Set Font color
Note: There is no Font-color property
CSS Setting font style