//1.网页自动填充input背景色处理 input:-webkit-autofill { transition: background-color 5000s ease-in-out 0s; } //2.input的placeholder颜色 ::-webkit-input-placeholder { /* WebKit, Blink, Edge */ color: #eee; } :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: #eee; } ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: #eee; } :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: #eee; }
前端 网页自动填充input背景色处理 和input的placeholder颜色
最新推荐文章于 2023-07-27 17:48:50 发布