多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# CSS3 text-emphasis 属性 ## 浏览器支持 目前主流浏览器都不支持 text-emphasis 属性。 ## 定义和用法 text-emphasis 属性是简写属性,用于在一个声明中设置 text-emphasis-style 和 text-emphasis-color。 提示:Adobe 的 "Kenten Generic OpenType Font" 是一个适合重点标记的字体,它专门为重点标记设计。 | 默认值: | none | | --- | --- | | 继承性: | yes | | --- | --- | | 版本: | CSS3 | | --- | --- | | JavaScript 语法: | _object_.style.textEmphasis="filled blue" | | --- | --- | ## 语法 ``` text-emphasis: _text-emphasis-style_ _text-emphasis-color_; ``` | 值 | 描述 | | --- | --- | | _text-emphasis-style_ | 向元素的文本应用重点标记。 | | _text-emphasis-color_ | 定义重点标记的前景色。 |