Загрузка видео...
Не удалось загрузить видео
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

阿珏6 месяцев назад
nice

Marek Jóźwiak5 месяцев назад
Sounds awesome! May implement this in cmd-k in all of my docs to strip down some js

dpkass6 месяцев назад
perfect! i was looking for something like this for comboboxes. esp. tree view comboboxes would benefit a lot.

Timothée Guignard6 месяцев назад
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 Velan6 месяцев назад
This looks very useful 👌

Bharat Kara6 месяцев назад
So cool

senik6 месяцев назад
This is godsend super helpful! Thanks :)

God LinkGPT 💻6 месяцев назад
Woah … epic API


