CSS – Placeholder style not applying if selectors are combined
Why does this work in Chrome: .amsearch-input::-webkit-input-placeholder { color: red; } <input class=”amsearch-input” placeholder=”It works!” /> But not this: .amsearch-input::-webkit-input-placeholder, .amsearch-input::-moz-placeholder, .amsearch-input::-ms-placeholder, .amsearch-input::placeholder { color: red; } <input class=”amsearch-input” placeholder=”It fails! :(” /> >Solution : That’s common error when trying to deal with selectors containing vendor prefixes. The issue here is that If there is… Read More CSS – Placeholder style not applying if selectors are combined