字体排印
用于控制文本装饰样式的实用工具。
类 | 样式 |
---|---|
decoration-solid | text-decoration-style: solid; |
decoration-double | text-decoration-style: double; |
decoration-dotted | text-decoration-style: dotted; |
decoration-dashed | text-decoration-style: dashed; |
decoration-wavy | text-decoration-style: wavy; |
使用像 decoration-dotted
和 decoration-dashed
这样的实用程序来更改元素的文本装饰样式
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
<p class="underline decoration-solid">The quick brown fox...</p><p class="underline decoration-double">The quick brown fox...</p><p class="underline decoration-dotted">The quick brown fox...</p><p class="underline decoration-dashed">The quick brown fox...</p><p class="underline decoration-wavy">The quick brown fox...</p>
前缀一个 text-decoration-style
实用程序 带有像 md:
这样的断点变体,仅在中等 屏幕尺寸及以上应用该实用程序
<p class="underline md:decoration-dashed ..."> <!-- ... --></p>
在变体文档中了解有关使用变体的更多信息。