I found this code on internet and using it on my page to change the placeholder color :
::-webkit-input-placeholder {
color:black;
}
It changes the color of placeholders to black.
I am not sure what this(webkit) is can anyone explain or provide a link? Thanks!
It’s a
Vendor Prefix
It would be nice if all browsers supported the same CSS properties, but unfortunately that is not always the case.
SamA74
3
The webkit is a vendor prefix for webkit browsers.
Prefixes are sometimes needed on newer css properties before they have full support.
1 Like
so these are not standard properties thats why we have to use webkit keyword?
PaulOB
6
3 Likes
system
Closed
7
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.