Ollie Williams welcomes the new CSS properties for styling underlines:
Finally we can demarcate links without sacrificing style thanks to two new CSS properties.
text-underline-offsetcontrols the position of the underline.
text-decoration-thicknesscontrols the thickness of underlines, as well as overlines, and line-throughs.
I’ve been working on a blog post about this topic, and Ollie does a good job of covering some of the points I want to make. But I want to go further and explore implementation quirks, the details where the new properties don’t quite go far enough, and make a case for why underlines shouldn’t be pixel-aligned.