Answers for "change input placeholder color"

15

css placeholder color

::-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;
}
Posted by: Guest on November-10-2020
32

css style placeholder

input::-webkit-input-placeholder {/* Chrome/Opera/Safari/Edge */
	/*styles here*/
}

input::-ms-input-placeholder { /* Microsoft Edge */
   /*styles here*/
}

input:-ms-input-placeholder {/* IE 10+ */
	/*styles here*/
}

input::-moz-placeholder {/* Firefox 19+ */
	opacity: 1; /*Firefox by default has an opacity object that usually is ideal to reset so it matches webkit*/
	/*styles here*/
}

input:-moz-placeholder {/* Firefox 18- */
	opacity: 1; /*Firefox by default has an opacity object that usually is ideal to reset so it matches webkit*/
	/*styles here*/
}

input::placeholder {
	/*styles here*/
}
Posted by: Guest on February-25-2020
2

change input placeholder font color

input[type="email"].big-dog::-webkit-input-placeholder {
  color: orange;
}
Posted by: Guest on June-08-2021
2

change placeholder color

textarea::placeholder{
	color: red;
}
Posted by: Guest on September-06-2021
1

input placeholder default color

In Chrome #a9a9a9
in Firefox #777777
Posted by: Guest on April-16-2021

Code answers related to "change input placeholder color"

Browse Popular Code Answers by Language