Css 删除网站标题图像中HTML中的灰度
我一点也不懂HTML。我在这里的帖子是关于我正在创建的这个网站中的HTML的一个问题 我只是想删除我在Weebly网站标题中使用的灰度代码。Weebly或Weebly支持社区没有人回答我的问题。我不知道该怎么办。我想要的只是我的网站标题(它们来自Weebly模板),以正常颜色显示标题图像(它们是我的,我上传的),而不是黑白 我真的非常感谢您能帮我编辑下面的代码,并将其备份以供我复制。抱歉给你添麻烦了。谢谢Css 删除网站标题图像中HTML中的灰度,css,grayscale,Css,Grayscale,我一点也不懂HTML。我在这里的帖子是关于我正在创建的这个网站中的HTML的一个问题 我只是想删除我在Weebly网站标题中使用的灰度代码。Weebly或Weebly支持社区没有人回答我的问题。我不知道该怎么办。我想要的只是我的网站标题(它们来自Weebly模板),以正常颜色显示标题图像(它们是我的,我上传的),而不是黑白 我真的非常感谢您能帮我编辑下面的代码,并将其备份以供我复制。抱歉给你添麻烦了。谢谢 body { height: 100%; f
body {
height: 100%;
font-size: 15px;
font-family: 'Cabin', Arial, sans-serif;
line-height: 1;
background: #2e2e2e;
color: #818181;
padding: 0 !important;
margin: 0 !important;
-webkit-font-smoothing: antialiased !important;
-moz-font-smoothing: antialiased !important;
-o-font-smoothing: antialiased !important;
-moz-osx-font-smoothing: grayscale;
非常感谢您的帮助。试试看
#wrapper .wsite-background {
filter : none !important;
}
您在
main\u样式中有此CSS。CSS
样式表:
#wrapper .wsite-background {
width: 100%;
opacity: 0.4;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
background-color: transparent;z-index: 10;
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
}
注意
-moz-filter
,-ms-filter
,-o-filter
,以及filter
设置?删除这些文件。尝试通过主样式.css
文件或扩展名为.css
的文件进行搜索。找到一个名为:#wrapper.wsite background
的节。更改以下内容:
-webkit-filter: grayscale(100%);
-moz-filter: grayscale(100%);
-ms-filter: grayscale(100%);
-o-filter: grayscale(100%);
filter: grayscale(100%);
filter: gray;
到
-webkit-filter: none;
-moz-filter: none;
-ms-filter: none;
-o-filter: none;
filter: none;
filter: none;