Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css 在输入字段中隐藏最后一次传递图标_Css_Lastpass - Fatal编程技术网

Css 在输入字段中隐藏最后一次传递图标

Css 在输入字段中隐藏最后一次传递图标,css,lastpass,Css,Lastpass,如果您在chrome中安装了Last Pass extension,它会在某些输入字段的右侧显示一个… 我在想:有没有办法用css来隐藏这一点呢?我想出来了 我将其放置在我的输入字段样式中: background-image:none !important; background-attachment:none !important; padding-right:0 !important; border:1px solid #ABADB3 !important; 虽然有效果,但还是可以看到一些

如果您在chrome中安装了Last Pass extension,它会在某些输入字段的右侧显示一个

我在想:有没有办法用css来隐藏这一点呢?

我想出来了

我将其放置在我的输入字段样式中:

background-image:none !important;
background-attachment:none !important;
padding-right:0 !important;
border:1px solid #ABADB3 !important;
虽然有效果,但还是可以看到一些东西。将其放在“我的全球风格”中完全消除了它:

div[id^=__lpform_] {
    display: none;
}

还可以通过将此属性添加到输入元素来隐藏图标:


data lpignore=“true”

抑制输入字段的图标,如下所示:

我使用了以下css:

img[id^='__lpform_cc-number_icon'] {
    display: none !important;
}

input {
background-image: none !important;
}


^^我想已经不行了。我不确定,因为它在我的情况下不起作用。

这也阻止了LastPass在该字段上工作。。。
data-lpignore="true"