Placeholder text in selection/dropdown cannot be manipulated by CSS right now. Sometimes we’d like the placeholder text to change based on how wide the container is.
Goal
To allow the same HTML look differently based on the width of its container.
So here’s an idea to generate a selection/dropdown via a list and allow the placeholder text to change based on the width of the container via pseudo elements.
What do you think?