Skip to content

CSS: Styling Input Text/Textarea Element

this is example how to change style for input text or text area, here you go

 

your-selector::-webkit-input-placeholder {
color: red;
}
your-selector:-moz-placeholder {

color: red;
}
your-selector::-moz-placeholder {

color: red;
}
your-selector:-ms-input-placeholder {

color: red;
}

Share

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.