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:

image

Then we apply the css change:

text-decoration-thickness: 2px;

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

image

See More #design TILs