v8.dev icon indicating copy to clipboard operation
v8.dev copied to clipboard

CSS: Switch border-bottom for proper text-decoration (and text-decoration-skip-ink)

Open tomayac opened this issue 4 years ago • 2 comments

Discussed in the context of https://github.com/v8/v8.dev/pull/278#discussion_r343086049.

tomayac avatar Nov 06 '19 13:11 tomayac

To clarify my earlier comments, there’s no technical reason I used border over anything else, but I do like the way the current styles look (as in, the “underline” is a few pixels away from the text). Can we achieve that with text-decoration?

I’m open to the change either way, just wondering how much of a visual impact it would have.

mathiasbynens avatar Nov 06 '19 13:11 mathiasbynens

There's text-underline-offset, but browser support isn't great at the moment. I don't see this as a blocker, though.

tomayac avatar Nov 06 '19 13:11 tomayac

Declaring bug bankruptcy after 4 years of inactivity.

camillobruni avatar Mar 23 '24 21:03 camillobruni