CSS ::placeholder and :placeholder-shown
The :placeholder-shown CSS pseudo-class represents any <input> or <textarea> element that is currently displaying placeholder text.
<input type="text" placeholder="some text" />
input:placeholder-shown {
font-family: "Baloo 2", cursive;
font-we...
suprabhasupi.hashnode.dev2 min read
Favourite Jome
Software Engineer @bug0
Thanks for sharing, I didn't know of
:placeholder-shownuntil now