CSS Text Decoration Thickness Property Tutorial
CSS Text Decoration Thickness Property Tutorial What is CSS Text Decoration Thickness The CSS text-decoration-thickness property is used to control the thickness (width) of text decoration lines such as underline, overline, and line-through. It allows web developers to customize how thick or thin the decoration line appears around text. By default, browsers apply a standard thickness, but this property gives full control over the visual appearance of decorated text. The value can be set to auto, a fixed length like px, or a percentage based on the font size. It is mainly used in modern web design to improve readability and create stylish text effects. Syntax: selector { text-decoration-thickness : value ; } CSS Text Decoration Thickness Property Tutorial Examples <! DOCTYPE html > < html > < head > < style > h1 { text-decoration : underline blue ; text-decoration-thickness : auto ; } h2 { text...