+2

z-index problem:( Why the image not showing in the foreground?And how make it foreground?

https://code.sololearn.com/W3ciRvt857Kx/?ref=app

2/8/2020 11:30:56 AM

KyteZ

3 Answers

New Answer

+1

z-index works ONLY for elements with position: absolute,- fixed or -relative. So you'll have to specify the css position property. I've tested it with position: absolute, this will work fine.

+1

Thank you so much

+1

KyteZ no problem👍