想分享下这个问题,因为折磨了我不短的时间,试过直接写内联样式<style:"backgroud:url(./img/xxx),background: linear-gradient(#4b1bd6, #350584)"   也是过background加image和color 都没有出来想要的效果,不过现在OK了,如下

html body {

background: linear-gradient(#4b1bd6, #350584);

}

#xxx{

background: url(../img/infoPage/bg_1.png);


}

这样就可以了

css背景图片加入背景线性渐变效果

 

 

 

相关文章:

  • 2021-08-24
  • 2021-06-15
  • 2022-12-23
  • 2022-02-22
  • 2021-11-09
  • 2022-12-23
  • 2021-09-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-02
  • 2021-06-23
  • 2021-07-04
  • 2022-12-23
相关资源
相似解决方案