input浏览器记住密码强加的样式

    input:-webkit-autofill {
      -webkit-text-fill-color: #141313 !important;
      -webkit-box-shadow: 0 0 0px 1000px transparent  inset !important;
      background-color:transparent;
      background-image: none;
      transition: background-color 50000s ease-in-out 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
    }

参考:https://blog.csdn.net/u011752272/article/details/66973367

posted @ 2020-03-20 10:14  zph前端  阅读(347)  评论(0编辑  收藏  举报