1.フォントの色
color: 颜色;
color:#f30;
color:rgb(255,100,0);
color:rgba(255,100,0,0.4);
2、フォント設定
font-family:Arial,Verdana,"Microsoft yahei",Simsun;
3、フォントの太さ
font-weight: normal ; /* 字体粗细:正常 */
font-weight: bold ; /* 字体粗细:粗体字 */
font-weight: bolder ; /* 字体粗细:比正常粗点*/
font-weight:lighter; /* 字体粗细:细体字 */
/*
用数字表示文本字体粗细。取值范围:
100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
值越大,越粗。
normal,相当于 400
bold,相当于 700
*/
font-weight:400;
4、英字変換
text-transform:none; /* 默认,不转换 */
text-transform:capitalize; /* 首字母大写。如:Hello */
text-transform:uppercase; /* 全大写。如:HELLO */
text-transform:lowercase; /* 全小写。如:hello */
5、斜体
font-style: normal ; /* 默认,正常字体 */
font-style: italic; /* 让文字斜体 */
6.テキストの最初の行をインデントします
text-indent: 2em ; /* 缩进2个汉字大小 */
7、テキスト/文字間隔
letter-spacing:10px;