How to add image to div tag when body's background image is already added? Is it possible by z-index ? Can anyone help me? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add image to div tag when body's background image is already added? Is it possible by z-index ? Can anyone help me?

Note : body's background image is fixed at width:100% & height:100%.

9th May 2020, 7:36 AM
Ajitha G R
Ajitha G R - avatar
3 Answers
+ 3
Ajitha G R Would be easy to see what's the problem if you add your code too :))
9th May 2020, 8:42 AM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 1
Arb Rahim Badsa <body> <Div></div> </Body> In CSS, I applied background image to body with 100%width and height. Then again I want to add image to div section.how I can add image to div section?
9th May 2020, 9:47 AM
Ajitha G R
Ajitha G R - avatar
+ 1
Arb Rahim Badsa but the thing is I dont want to add multiple background images in body itself..I want to try perspective in 3d property w.r.t body's image and div's image
9th May 2020, 10:00 AM
Ajitha G R
Ajitha G R - avatar