HOME / BLOG / BLOG-POST

How to make auto filled place transparent in css?

Make auto filled place transparent in css

//paste this code in stylesheet (for input fields)

@-webkit-keyframes autofill {
    to {
        color: #fff;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-transition-delay: 99999s;
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

 


about authors

Sandip Das

Web Developer

Once a legend said “Any fool can write code that a computer can understand. Good programmers write code that humans can understand.” – Martin Fowler.



POST COMMENTS

Leave a Reply

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