CSS:

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { /* 延迟动画 */
    -webkit-transition-delay: 9999s;
    transition-delay: 9999s;
    -webkit-transition: color 9999s ease-out, background-color 9999s ease-out;
    transition: color 9999s ease-out, background-color 9999s ease-out;
}

input:-webkit-autofill { /* 阴影透明,背景色效果 */
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
    box-shadow: 0 0 0px 1000px transparent inset;
    border: 1px solid #ccc !important;
}

 

相关文章:

  • 2021-12-19
  • 2021-12-19
  • 2021-12-10
  • 2021-12-19
  • 2021-06-23
  • 2022-02-06
  • 2022-01-06
  • 2021-10-18
猜你喜欢
  • 2021-12-19
  • 2022-12-23
  • 2021-12-19
  • 2021-12-19
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案