【问题标题】:How to blend two background images in css如何在css中混合两个背景图像
【发布时间】:2021-12-10 00:34:44
【问题描述】:

我在混合两个背景图像时遇到问题。 这是图片 1 enter image description here

还有第二张图片enter image description here

我想将它们混合为弯曲的背景,结果应该是这样的 enter image description here

【问题讨论】:

标签: css image background opacity blend


【解决方案1】:

您能否更具体地说明弯曲背景的含义?此外,您可以通过设置它们来混合这两个图像

(tagname, class, id etc. {
background-image:url(enterimageurl1)
background-image:url(enterimageurl2)
background-blend-mode:blend mode to blend the images (you can go to https://www.w3schools.com/cssref/pr_background-blend-mode.asp);
})

你的 2 张图片应该在一起!

【讨论】:

  • 注意:混合模式是两种背景融合在一起的方式。
猜你喜欢
  • 2020-07-13
  • 2011-07-23
  • 2018-10-09
  • 2016-12-28
  • 2010-12-05
  • 1970-01-01
  • 2015-09-24
  • 2021-07-25
  • 1970-01-01
相关资源
最近更新 更多