Got a request from a client asking to change the placeholder color. Apparently, they are getting confused by the color of the title of the input box and it's placeholder. :P
So this is what worked.
::placeholder
{
color: red;
}
Though still not sure what the :: does.
Anyways it worked!
Top comments (1)
To answer your question at the end, :: is the selector for pseudo elements in CSS, you can use it in a multitude of ways including:
There are way too many to list here, W3 schools has a good list at w3schools.com/css/css_pseudo_eleme...