排版
用于控制文本装饰样式的工具。
Class | Styles |
---|---|
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
等工具来改变元素的 文本装饰 样式:
快速的棕色狐狸跳过懒狗。
快速的棕色狐狸跳过懒狗。
快速的棕色狐狸跳过懒狗。
快速的棕色狐狸跳过懒狗。
快速的棕色狐狸跳过懒狗。
<p class="underline decoration-solid">快速的棕色狐狸...</p><p class="underline decoration-double">快速的棕色狐狸...</p><p class="underline decoration-dotted">快速的棕色狐狸...</p><p class="underline decoration-dashed">快速的棕色狐狸...</p><p class="underline decoration-wavy">快速的棕色狐狸...</p>
Prefix a text-decoration-style
utility with a breakpoint variant like md:
to only apply the utility at medium screen sizes and above:
<p class="underline md:decoration-dashed ..."> <!-- ... --></p>
Learn more about using variants in the variants documentation.