Help! How to keep image from covering css shapes? (Edit:Solved) | Sololearn: Learn to code for FREE!
+ 16

Help! How to keep image from covering css shapes? (Edit:Solved)

Ive tried changing the order but the image always covers the css shapes.

25th Mar 2019, 9:49 PM
QueenOfHearts [Inactive]
QueenOfHearts [Inactive] - avatar
4 odpowiedzi
+ 6
This may not be the best fix, but what I did was reverse the order that the image and the circle were in (having the circle go above the waffle), I set the circle to be above the image using the z-index property, then positioned it using the top:; and left:; properties (it might not be where you need it so it might need a little tweaking). https://code.sololearn.com/WwJ0kfRvW5D7/?ref=app
25th Mar 2019, 10:39 PM
Faisal
Faisal - avatar
+ 17
That's excellent thank you 👏 Faisal
25th Mar 2019, 10:41 PM
QueenOfHearts [Inactive]
QueenOfHearts [Inactive] - avatar
+ 11
Faisal https://code.sololearn.com/WzC2g2BmUc4m/?ref=app I need the black circle on the waffle not underneath
25th Mar 2019, 10:30 PM
QueenOfHearts [Inactive]
QueenOfHearts [Inactive] - avatar
+ 4
Could you link to the code you're having troubles with?
25th Mar 2019, 10:27 PM
Faisal
Faisal - avatar