Skip to content

How to remove input background on select oin CSS?

*:-webkit-autofill:active {
    /* use animation hack, if you have hard styled input */
    transition: all 5000s ease-in-out 0s;
    transition-property: background-color, color;
    /* if input has one color, and didn't have bg-image use shadow */
    -webkit-box-shadow: 0 0 0 1000px green inset;
    /* text color */
    -webkit-text-fill-color: red;
    /* font weigth */
    font-weight: 300!important;
See also  TypeScript code snippet - How to register events bukikt?

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.