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中字体样式的各种属性及其用法,包括font-style、font-size和text-decoration等,帮助读者理解如何通过这些属性调整网页文本的表现形式。
1万+

被折叠的 条评论
为什么被折叠?



