-
You'll soon be able to style a text fragment URL (web.dev/text-fragments/) highlight on pages with the
::target-text
pseudo class (details: groups.google.com/a/chromium.org/g/blink-dev/c/5zkY3e9cpoo/m/xWNtvgyFAAAJ).css ::target-text { background-color: purple; }
Now: #:~:text=foo → 🟨🟨 Soon: #:~:text=foo → 🟪🟪