2017-05-28 52 views
2

雖然compling SCSS拋出的錯誤,我在下面的CSS讓錯誤:SCSS CSS編輯在下面的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代碼。請幫忙。

回答

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; 
} 
+0

非常感謝您!它工作完美。謝謝。 – ARUN

+0

@ARUN樂於提供幫助 –