I've found :placeholder-shown useful in combination with :focus-within to style elements when an input element is focused, but the user has not entered anything into it, yet. For example you have a ...
Use this repository as a template.