📜  自动填充输入 css 代码示例时删除背景

📅  最后修改于: 2022-03-11 14:47:53.045000             🧑  作者: Mango

代码示例1
@-webkit-keyframes autofill {
    0%,100% {
        color: #666;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-delay: 1s; /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}