input:-webkit-autofill {
-webkit-text-fill-color: $gray-96;
@include box-shadow(0 0 0px 1000px $main-border-color inset);
}
去掉覆盖chrome默认填充的那坨黄
![](https://img2024.cnblogs.com/blog/35695/202408/35695-20240826070647288-243310440.jpg)
input:-webkit-autofill {
-webkit-text-fill-color: $gray-96;
@include box-shadow(0 0 0px 1000px $main-border-color inset);
}