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:

Add Dependent Scripts

   here is the code that allow to add dependent script :         <script>         const addDependentScripts = async function( scriptsT...

Ads Inside Post

Powered by Blogger.

Arsip