Style textDecorationColor 属性
定义和用法
textDecorationColor 属性规定文本修饰(下划线 underline、上划线 overline、中划线 line-through)的颜色。
注意:只有在带有可见的 text-decoration 的元素上,textDecorationColor 属性才起作用。
浏览器支持
 
 
 
 

几乎所有的主流浏览器都不支持 textDecorationColor 属性。
Firefox 支持另一个可替代该属性的属性,即 MozTextDecorationColor 属性。
语法
返回 textDecorationColor 属性:
	object.style.textDecorationColor 
设置 textDecorationColor 属性:
	object.style.textDecorationColor="color|initial|inherit"
属性值
| 值 | 描述 | 
|---|---|
| color | 规定文本修饰的颜色。 | 
| initial | 设置该属性为它的默认值。请参阅 initial。 | 
| inherit | 从父元素继承该属性。请参阅 inherit。 | 
技术细节
| 默认值: | currentColor | 
|---|---|
| 返回值: | 字符串,表示元素的 text-decoration-color 属性。 | 
| CSS 版本 | CSS3 | 
相关文章
CSS 参考手册:text-decoration-color 属性

 JavaScript 教程
JavaScript 教程 JavaScript 对象
JavaScript 对象 jQuery 教程
jQuery 教程 JSON 教程
JSON 教程 AngularJS 教程
AngularJS 教程 Angular 2 教程
Angular 2 教程 Vue.js 教程
Vue.js 教程 React 教程
React 教程 jQuery UI 教程
jQuery UI 教程 jQuery EasyUI 教程
jQuery EasyUI 教程 AJAX 教程
AJAX 教程 Highcharts 教程
Highcharts 教程 Google Maps API 教程
Google Maps API 教程 ES6 教程
ES6 教程 TypeScript教程
TypeScript教程 ES6 标准入门
ES6 标准入门 Style 对象
 Style 对象