我如何删除添加到登录表单password
字段中的亮绿色下划线,我认为是在添加chrome。我目前使用materializecss
的设计,虽然较小,但看起来很奇怪,并且改变了表格的美观。我已经使用以下代码使chrome自动填充框透明了。
@-webkit-keyframes autofill {
0%,
100% {
color: #666;
background: transparent;
}
}
input:-webkit-autofill {
-webkit-animation-delay: 1s;
/* Safari support - any positive time runs instantly */
-webkit-animation-name: autofill;
-webkit-animation-fill-mode: both;
}
Materialize
根据其设计主题添加teal
下划线。我想保留那个。
我以为是错误的,Chrome
不是罪魁祸首。下划线由materializecss
添加>
<input type="password" name="password" class="validate">
我在密码字段上启用的
Validate
类,亮绿色表示有效,红色表示无效。我个人认为这违背了默认的Teal
下划线设计。删除相同。
<input type="password" name="password">