::-webkit-input-placeholder { /* Chrome/Opera/Safari */
color: pink;
}
::-moz-placeholder { /* Firefox 19+ */
color: pink;
}
:-ms-input-placeholder { /* IE 10+ */
color: pink;
}
:-moz-placeholder { /* Firefox 18- */
color: pink;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
color: red;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: red;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: red;
}
::placeholder {
color: blue;
opacity: 1;
}
/* do not group these rules */
*::-webkit-input-placeholder {
color: red;
}
*:-moz-placeholder {
/* FF 4-18 */
color: red;
opacity: 1;
}
*::-moz-placeholder {
/* FF 19+ */
color: red;
opacity: 1;
}
*:-ms-input-placeholder {
/* IE 10+ */
color: red;
}
*::-ms-input-placeholder {
/* Microsoft Edge */
color: red;
}
*::placeholder {
/* modern browser */
color: red;
}
"&::placeholder": {
color: "#c4c4c4",
},
/* In 2021,
For Chrome */
#9ca3af
Code Example |
---|
Css :: html invisible hr |
Css :: css wrap |
Css :: css list items next to each other |
Css :: how to make a relative div not take up space |
Css :: css square image |
Css :: what are the types of positioning in css |
Css :: how to create a shape in css |
Css :: css vendor prefixes |
Css :: how to center with position fixed |
Css :: css text highlight |
Css :: how to use local fonts in css |
Css :: how to open link in same tab in chrome |
Css :: easy ways to implement dark mode html css |
Css :: put a border only on bottom |
Css :: css background overlay |
Css :: selenium find element by css selector |
Css :: css onclick change color |
Css :: padding-block css |
Css :: css flex bottom |
Css :: css text overflow |
Css :: css custom scrollbar |
Css :: css example |
Css :: border shorthand css |
Css :: center image in css |
Css :: move header down css |
Css :: sass use variables from another file |
Css :: loading bar css |
Css :: wrap text around circle image css |
Css :: center div |
Css :: scale down image css |