Stefan Judis 2/2/2026

How to style the found search / "find in page" substrings (#tilPost)

Read Original

This article explains the new CSS pseudo-elements ::search-text and ::search-text:current, shipped in Chrome 144, which allow developers to style the highlighted substrings and the currently selected match in a browser's 'find in page' feature. It discusses the feature's benefits for UX, provides a code example, and compares browser support, including Firefox's pending implementation.

How to style the found search / "find in page" substrings (#tilPost)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week