CSS 文字排版检测

← 返回首页

CSS1 字体基础 1996

font-family 字体族
font-size 字号
font-weight 字重
font-style 字体样式
font-variant 字体变体
line-height 行高

CSS1 文本基础 1996

color 文字颜色
text-align 文本对齐
text-decoration 文本装饰
text-indent 首行缩进
word-spacing 词间距
letter-spacing 字间距

CSS2 文本扩展 1998

text-transform 大小写转换
white-space 空白处理
direction 文本方向
unicode-bidi 双向算法
font-stretch 字体拉伸
font-size-adjust 字号调整

CSS3 文本装饰 2010

text-shadow 文字阴影
text-decoration-color 装饰颜色
text-decoration-style 装饰样式
text-decoration-line 装饰线
text-underline-offset 下划线偏移
text-underline-position 下划线位置

CSS3 文本换行与溢出 2010

word-wrap / overflow-wrap 换行
word-break 词内断行
text-overflow 文本溢出
hyphens 连字符
line-break 换行规则
overflow-wrap 溢出换行

CSS3 文本对齐与间距 2011

text-align-last 末行对齐
text-justify 两端对齐
tab-size 制表符宽度
hanging-punctuation 标点悬挂
punctuation-trim 标点修剪

CSS3 书写模式 2011

writing-mode 书写模式
text-orientation 文字方向
text-combine-upright 纵向组合
glyph-orientation 字形方向 (已废弃)

CSS3 字体特性 2013

font-feature-settings OpenType 特性
font-kerning 字距调整
font-variant-ligatures 连字
font-variant-caps 大写变体
font-variant-numeric 数字变体
font-synthesis 字体合成

现代文本特性 2020+

text-decoration-thickness 装饰线粗细
text-wrap 文本换行模式
white-space-collapse 空白折叠
text-spacing-trim 文本间距修剪