Make white background of image transparent in css

前端 未结 4 1536
广开言路
广开言路 2020-12-24 13:20

I have two images, one of which is a small icon that is superimposed over the first image. My icon has a white background, so when the icon is placed over the other image, w

4条回答
  •  感情败类
    2020-12-24 13:47

    You can make a container for your image. Then for the css of the container:

    overflow:hidden; height: (depends on your image, then make it a smaller px); width:100%;
    

    Hope it helps. :)

提交回复
热议问题