How can we make an image without borders in CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can we make an image without borders in CSS?

I mean how to display an image to show just over the thing(person,object,...) without background and borders in css?

15th Sep 2020, 5:50 AM
Seyal Kandahari
Seyal Kandahari - avatar
4 Answers
+ 7
Seyal Kandahari You can use the z-index property of css to make the image show over or under an object, You have to just give your image z-index property
15th Sep 2020, 6:04 AM
‎Ashwin Maurya
‎Ashwin Maurya - avatar
+ 2
Ashwin Maurya Was not helpful.I think you did not get my question.
19th Sep 2020, 11:49 AM
Seyal Kandahari
Seyal Kandahari - avatar
+ 2
Ashwin Maurya I mean, how to display an image's element without background and borders,in html and css?
19th Sep 2020, 12:09 PM
Seyal Kandahari
Seyal Kandahari - avatar
+ 1
Seyal Kandahari If you are asking how to use an image like the car in this code https://code.sololearn.com/W57PBIqS7AyU/?ref=app It does not have any border or background Then you will have to use photoshop to achieve this
19th Sep 2020, 12:16 PM
‎Ashwin Maurya
‎Ashwin Maurya - avatar