Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

44,660 Aufrufe • vor 6 Monaten •via X (Twitter)

8 Kommentare

Profilbild von 阿珏
阿珏vor 5 Monaten

nice

Profilbild von Marek Jóźwiak
Marek Jóźwiakvor 5 Monaten

Sounds awesome! May implement this in cmd-k in all of my docs to strip down some js

Profilbild von dpkass
dpkassvor 6 Monaten

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

Profilbild von Timothée Guignard
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

Profilbild von Raghav Velan
Raghav Velanvor 6 Monaten

This looks very useful 👌

Profilbild von Bharat Kara
Bharat Karavor 6 Monaten

So cool

Profilbild von senik
senikvor 6 Monaten

This is godsend super helpful! Thanks :)

Profilbild von God LinkGPT 💻
God LinkGPT 💻vor 6 Monaten

Woah … epic API

Ähnliche Videos