Today I Learned

hashrocket A Hashrocket project

CSS text decoration thickness

CSS has a property text-decoration-thickness which allow us to define the thickness of a text decoration such as underline to match design expectations.

Here's is my regular link:


Then we apply the css change:

text-decoration-thickness: 2px;

And here's the result with a thicker underlined link:


See More #design TILs