CSS字体格式+文本编辑

font-size:  字体的大小
 
 
 
 
color:  字体颜色

bold:  字体加粗


font-family:字体类型
 
 
font-variant: small-caps ;
small-caps (小大写)

复合字体顺序要求:

常见组合:

style/variant/weight/size/family

oblique small-cap bold 20px "字体格式"

备注:任何情况面variant在weight前,family在最后

文本:常见格式

text-align 对齐方式    center(居中)

text-ident 首行缩进  20px

text-decoration 文本线 underline

text-transform 大小写转换

letter-spacing 字距 20px

word-spacing 词距 (词句需要手动天机空格区分词语)

line-height 行高



text-align

text-align

text-align






猜你喜欢

转载自blog.csdn.net/qq_41646730/article/details/80931230