</>HTML & CSS News
LatestAuthorsRSS
Tag

#custom-highlight-api

Tagged “custom-highlight-api”

1 article
CSS & layout

::highlight() with a text-shadow safety net

The CSS Custom Highlight API lets you paint arbitrary text ranges from JavaScript, no wrapper spans required. A text-shadow fallback keeps the effect intact when the API is not there.

Aug 6, 2026 · Iris Calderón
</>HTML & CSS News

Independent web-platform news — concise, vendor-neutral takes on HTML, CSS, accessibility and the browsers that ship them.

About

Latest newsAuthorsRSS feedSitemap