首页 > 解决方案 > 如何在css中混合两个背景图像

问题描述

我有混合两个背景图像的问题。这是图片 1在此处输入图片描述

第二张图片在此处输入图片描述

我想将它们混合为弯曲的背景,结果应该像这样 在此处输入图像描述

标签: cssimagebackgroundopacityblend

解决方案


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

(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 张图片应该在一起!


推荐阅读