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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes