UX Lift logo

::search-text | CSS-Tricks

The CSS ::search-text pseudo‑element lets you style browser “find in page” highlights (e.g., colors, text‑decoration) and, with :current, the active match; supports limited properties, inherits, and enjoys broad browser support.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact