大家知道css的字体属性吗?下面我们就给大家详细介绍一下吧!我们积累了一些经验,在此拿出来与大家分享下,请大家互相指正。
font-style:
inherit:继承
italic:斜体
normal:正常
oblique:偏斜体
font-size:
xx-small: 取所有相对大小取值中最小的;
x-small:仅大于xx-small的字体
small:默认的小字体
medium:默认值
large:默认的大字体
x-large:仅小于xx-large
xx-large:最大的字体
text-decoration:
inherit: 继承
none:无文本修饰,缺省设置
underline:下划线
overline:顶划线
line-through:删除线
blink:是文本闪烁
font-weight:
bold:粗体 相当于数值700
bolder:特粗体
lighter:细体
normal:正常体 数值400
相信大家已经学会css的字体属性了吧!感谢大家对我们网站的支持!
相关推荐:
邮箱css加载失败解决方法