如何隐藏Safari中input输入框内自带的小人图标
problem
页面表单包含input,在 safari 浏览器下,右边有个小人标志
并且在 safari 16.1 版本发现 safari 13.1.1版本没有问题
reason
Safari浏览器自动添加的伪元素
solution
无法删除,只能隐藏
input::-webkit-contacts-auto-fill-button {
visibility: hidden;
display: none !important;
pointer-events: none;
position: absolute;
right: 0;
}