Safari - Webkit 联系人自动填充按钮图标在空时更改颜色 [英] Safari - Webkit contacts autofill button icon change color on empty

查看:21
本文介绍了Safari - Webkit 联系人自动填充按钮图标在空时更改颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有一个深色表单,我想在输入字段为空时更改联系人自动填充按钮的颜色.如何做到这一点?

I have a dark form on my website and I want to change the color of the contacts autofill button when the input field is empty. How can this be achieved?

推荐答案

input:not(input:-webkit-autofill)::-webkit-contacts-auto-fill-button {
    background-color: #fff;
}

这篇关于Safari - Webkit 联系人自动填充按钮图标在空时更改颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆