Text Decoration Thickness
Controls the thickness of text decorations.
Class | Properties |
---|---|
tdt-auto | text-decoration-thickness: auto; |
tdt-ff | text-decoration-thickness: from-font; |
tdt-0 | text-decoration-thickness: 0px; |
tdt-1 | text-decoration-thickness: 4px; |
tdt-2 | text-decoration-thickness: 8px; |
tdt-3 | text-decoration-thickness: 12px; |
tdt-4 | text-decoration-thickness: 16px; |
Using breakpoints
The utilization of breakpoint modifiers, like sm:tdt-*
, md:tdt-*
, lg:tdt-*
, and xxl:tdt-*
enables the targeting of specific utilities in disparate viewports.
Using variants
The :hover
variant, such as h:tdt-*
, allows you to modify text decoration thickness when hovering over elements.