Detect if an input has text in it using CSS — on a page I am visiting and do not control? Is there a way to detect whether or not an input has text in it via CSS? I’ve tried using the :empty pseudo-class, and I’ve tried using [value=""], neither... May 25, 2022 0 Comments