Chrome 144 introduced the ::search-text pseudo-element for styling find-in-page text matches. This guide covers all highlight-related pseudo-elements (::search-text, ::target-text, ::selection, ::highlight(), ::spelling-error, ::grammar-error) and demonstrates how to style them accessibly using relative color syntax to invert
Sort:
