Search code examples
htmlcssimagebackground-image

How to remove the white background of an image HTML-CSS?


I have an image and the background is white. how can i remove the white background? This is my code: <img src="Galactic empire.png">

And this is my output: enter image description here


Solution

  • If it is a png image, it automatically eliminates the checkered background. Use another image or edit the current image in Adobe Photoshop.