2

While compling scss, I'm getting error on following 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;
    }

Error:

>>> Change detected to: style.scss
  error style.scss (Line 13838: Invalid CSS after "
  filter: progid": expected ";", was ": DXImageTransf...")

I couldn't find whats wrong with the above css code. Please help.

1 Answer 1

3

Remove the space from 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;
}
Sign up to request clarification or add additional context in comments.

1 Comment

@ARUN glad to help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.