“non-terminal statement or declaration” error when using Microsoft's proprietary filter property in Sass

前端 未结 1 537
一向
一向 2021-01-17 04:21

I have the following CSS code in a SCSS file:

.blur{
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    -o-filter: blu         


        
相关标签:
1条回答
  • 2021-01-17 04:48

    Remove the space between progid: and DXImageTransform.Microsoft.Blur(PixelRadius = '3');

    So, this should work:

    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius = '3');
    

    :)

    0 讨论(0)
提交回复
热议问题