HTML/input

来自康健生活
Kangkk​(留言 | 贡献)2021年2月22日 (一) 17:04的版本 (创建页面,内容为“== 引言 == == 自动填充 == input 自动填充时背景色的颜色变更: <syntaxhighlight lang="css"> // input 输入框,自动填充颜色问题 .ant-inpu…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

引言

自动填充

input 自动填充时背景色的颜色变更:

// input 输入框,自动填充颜色问题
.ant-input:-webkit-autofill,
.ant-input:-webkit-autofill:hover,
.ant-input:-webkit-autofill:focus,
.ant-input:-webkit-autofill:active {
    -webkit-transition-delay: 111111s;
    -webkit-transition: color 11111s ease-out, background-color 111111s ease-out;
    box-shadow: 0 0 0px 1000px #131417 inset !important;
}