在编写scss时,我在跟踪css时遇到错误:
span.icon-hcp {
filter: progid: DXImageTransform.Microsoft.AlphaImageLoader(src='../images/icon-hc.jpg', sizingMethod='scale') !important;
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='../images/icon-hc.jpg', sizingMethod='scale')" !important;
background-image: none !important;
}
错误:
>>> Change detected to: style.scss
error style.scss (Line 13838: Invalid CSS after "
filter: progid": expected ";", was ": DXImageTransf...")
我无法找到上述css代码的错误。请帮忙。
答案 0 :(得分:3)
从progid: DXImageTransform
=>中删除空格progid:DXImageTransform
span.icon-hcp {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/icon-hc.jpg', sizingMethod='scale') !important;
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='../images/icon-hc.jpg', sizingMethod='scale')" !important;
background-image: none !important;
}