input:-webkit-autofill {
/* 字体颜色,需要设置,否则会变成黑色 */
-webkit-text-fill-color: #808080 !important;
/* 变成透明背景色的固定写法,只针对表单自动填充的背景色 */
transition: background-color 5000s ease-in-out 0s;
}
表单 input 中选择已有值时背景颜色修改
最新推荐文章于 2024-06-18 16:37:00 发布