The best CSS text-decoration-style property Tutorial In 2024, In this tutorial you can learn Examples,Browser Support,Definition and Usage,CSS Syntax,Property Value,
Displayed at the bottom of a wavy line of the paragraph:
Almost all of the major browsers do not support text-decoration-style property.
Firefox supports another alternative of the property attribute that -moz-text-decoration-style property.
text-decoration-style attribute specifies how to display the lines.
Defaults: | solid |
---|---|
inherit: | no |
Can be animated: | no. Please refer to animation (Animatable) . |
version: | CSS3 |
JavaScript syntax: | object .style.textDecorationStyle = "wavy"try |
值 | 描述 | 测试 |
---|---|---|
solid | 默认值。线条将显示为单线。 | 测试 » |
double | 线条将显示为双线。 | 测试 » |
dotted | 线条将显示为点状线。 | 测试 » |
dashed | 线条将显示为虚线。 | 测试 » |
wavy | 线条将显示为波浪线。 | 测试 » |
initial | 设置该属性为它的默认值。请参阅 initial 。 | 测试 » |
inherit | 从父元素继承该属性。请参阅 inherit 。 |