CSS text-combine-upright 属性值说明
值 | 描述 |
---|---|
none | 没有特殊处理。 |
all | 在框内水平排列所有连续的印刷字符单元,使得它们在垂直线框内占据单个印刷字符单元的空间。 |
doirts <integer>? | 显示一系列连续的ASCII数字(U + 0030-U + 0039),其具有比指定的整数更多或者更少的字符,使得它占用垂直线框内的单个字符的空间。 |
initial | 将属性设置为默认值。 |
inherit | 从其父元素继承属性。 |
text-combine-upright 属性指定将字符组合成单个字符的空间。
如果组合文本的宽度大于 1em,则用户代理应适合 1em 内的内容。
text-combine-upright 属性仅在垂直书写模式下有效。
初始值 | none |
---|---|
应用于 | 未替换的内联元素。 |
继承 | 可继承 |
可动画的 | 无效 |
版本 | CSS1 |
DOM 语法 | object.Style.TextCombineUpright =“all”; |
语法
text-combine-upright: none | all | doirts <integer>?;
text-combine-upright 属性示例:
<!DOCTYPE html> <html> <head> <title>文档的标题</title> <style> .example { writing-mode: vertical-lr; text-combine-upright: doirts 2; font: 32px "Roboro", Helvetica, Sans serif; } </style> </head> <body> <h2>Text-combine-upright 属性示例</h2> <p lang="ja" class="example"> 日期 20年6月22日に </p> </body> </html>
日期:2020-06-02 22:14:47 来源:oir作者:oir