CSS 属性:
text-decoration-color:
red
green
yellow
rgb(255,0,0)
rgb(0,0,255)
#ff0000
#00ff00
rgba(255,0,0,1)
rgba(255,0,0,0.5)
rgba(255,0,0,0.2)
initial
结果:
Hello world!
CSS 代码:
#myDIV
{
text-decoration: underline;
text-decoration-color:
red
;
}
点击上面的属性值然后查看效果
w3cschool.cn