html将图像混合成背景色

问题描述 投票:-1回答:1

我有一个html页面,背景为红色。我张贴到图像,一张图像与背景色混合在一起,而另一幅则没有。我得到白色补丁。我该如何解决?

Fiddle Link

链接中的左图像未与背景色混合。

<html>
   <body style="background-color:red;">
      <img alt="Qries" src="https://www.workspez.com/my/images/whoweareserving.jpg"
         width=150" height="70">
      <img alt="Qries" src="https://www.workspez.com/my/images/section4img.png"
         width=150" height="70">
      </div>
   </body>
</html>
html css image png jpeg
1个回答
0
投票

左图没有透明背景。如果要将图像与背景混合,请尝试从图像中除去背景,我想这样就可以了。

© www.soinside.com 2019 - 2024. All rights reserved.