For smart Primates & ROBOTS (oh and ALIENS ).

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:

Featured Post

Core Web Vitals Assessment showing LCP 10.6s while google pagespeed report showing LCP 3.5s why?

Core Web Vitals Assessment showing LCP 10.6s while google pagespeed report showing LCP 3.5s why? So, you can face this situation while...

Ads Inside Post

Powered by Blogger.

Arsip