Video wird geladen...
Video konnte nicht geladen werden
The CSS Custom Highlight API lets you highlight search results — Without affecting the DOM structure. ::highlight(search-results) { background-color: #ff0066; color: white; } #CSS #WebAPIs
8 Kommentare

阿珏vor 5 Monaten
nice

Marek Jóźwiakvor 5 Monaten
Sounds awesome! May implement this in cmd-k in all of my docs to strip down some js

dpkassvor 6 Monaten
perfect! i was looking for something like this for comboboxes. esp. tree view comboboxes would benefit a lot.

Timothée Guignardvor 6 Monaten
That’s really useful. Not perfect, as its just a pseudo-element, so complex styling are not possible. But for a simple highlighting it’s much easier than having a dynamic complex js feature

Raghav Velanvor 6 Monaten
This looks very useful 👌

Bharat Karavor 6 Monaten
So cool

senikvor 6 Monaten
This is godsend super helpful! Thanks :)

God LinkGPT 💻vor 6 Monaten
Woah … epic API


