【发布时间】:2017-12-19 13:12:26
【问题描述】:
我正在尝试理解日本的垂直 html。
在我的分析中,我发现在很多地方内容都有letter-spacing : <Negative value>。
我很少在横向内容中使用这种 css 样式,但在 JP 中它主要用于数字。
span.tcy {
-webkit-text-combine: horizontal;
-epub-text-combine: horizontal;
text-combine: horizontal;
font-size: 0.9em;
line-height: 0.9em;
text-indent: 0;
letter-spacing: -1px;
}
和
.tcy {
-webkit-text-combine: horizontal;
-epub-text-combine: horizontal;
text-combine: horizontal;
font-size: 0.9em;
line-height: 0.9em;
text-indent: 0em;
letter-spacing: -1px;
}
谁能解释一下字母间距 css 样式的实际用例,以及为什么它主要用于日文垂直内容来格式化数字。 谢谢。
【问题讨论】:
标签: html css letter-spacing vertical-text