Recently, I came across an interesting design choice on Wired magazine's website - they use a thick blue underline for their links that crosses over text descenders and is a different color from the text itself. You can see an example on this random page.
I don't believe this effect is achieved with a simple bottom-border
style, as it overlaps the text descenders. It's possible that they are using the new -moz-text-decoration-color
and text-decoration-color
properties for the color difference, but I haven't been able to determine how they control the line thickness.
I attempted to analyze their CSS, but it's minified and complex, making it difficult to find the specific information I need. I tried searching for terms like -moz-text-decoration-color
and border-bottom
, but didn't have any luck.
Does anyone know how Wired achieves this unique link style?