文本属性-风格 | text-emphasis-style (Text Decoration) - CSS 中文开发手册 - Break易站
CSS 中文开发手册
文本属性-风格 | text-emphasis-style (Text Decoration) - CSS 中文开发手册
该text-emphasis-style CSS属性定义强调标记所使用的类型。它也可以使用text-emphasis简写属性来设置和重置。
/* Initial value */ text-emphasis-style: none; /* No emphasis marks */ /* value */ text-emphasis-style: 'x'; text-emphasis-style: '点'; text-emphasis-style: 'B2'; text-emphasis-style: '*'; text-emphasis-style: 'foo'; /* Should NOT use. It may be computed to or rendered as 'f' only */ /* Keywords value */ text-emphasis-style: filled; text-emphasis-style: open; text-emphasis-style: filled sesame; text-emphasis-style: open sesame; /* Global values */ text-emphasis-style: inherit; text-emphasis-style: initial; text-emphasis-style: unset;
Initial value | none |
---|---|
Applies to | all elements |
Inherited | no |
Media | visual |
Computed value | as specified |
Animation type | discrete |
Canonical order | the unique non-ambiguous order defined by the formal grammar |