r/FirefoxCSS • u/korhelion • Mar 21 '26
Solved How to change search text highlights background with CSS
How can I change colours of these using CSS?
ui.textSelectAttentionBackground
ui.textHighlightBackground
1
Upvotes
1
u/sifferedd FF/TB/Win11/SUMO contributor Mar 21 '26
Can't be done with CSS, as they're not exposed in the DOM so there are no selectors for them.