.index-bg{
    background:url(img/index-bg-t.5344b19d.jpg) center center/cover no-repeat
}

比如上面这样ie8不能识别,连图也看不到了

解决办法

cssmin: { 
    options : { 
        compatibility : 'ie8', //设置兼容模式 
        noAdvanced : true //取消高级特性 
    },
    minify: { 
        expand: true, 
        cwd: srcName + '/', src: ['*\*/\*.css', '!*.min.css'], 
        dest: buildPath + '/', 
        ext: '.css' 
    } 
}

 

 

.index-bg{
    background:url(img/index-bg-t.5344b19d.jpg) center center/cover no-repeat
}

相关文章:

  • 2022-12-23
  • 2022-01-21
  • 2021-07-29
  • 2022-02-08
  • 2022-12-23
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-28
  • 2021-12-04
  • 2021-11-28
  • 2022-01-01
相关资源
相似解决方案