For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Wednesday, January 09, 2019

Change palceholder color in html

How to Change Palceholder color in html

If you want to change placeholder color of any text box then this listed below code is for you.

<input id="myinput" name="myinput" type="text"  placeholder="Start your search here" />

<style>
::placeholder {
    color:white;
    opacity: 5;
}
:-ms-input-placeholder {    color: white;}
::-ms-input-placeholder {    color: white;}   
</style>
Share:

0 comments:

Post a Comment

How to make center align child div

 How to make center align child div?   Suppose you have 2 Div tag. And want the make inner tag center <div id="d1">      ...

Ads Inside Post

Powered by Blogger.

Arsip