I'm making a really simple animation on a webpage. When the images overlap, the wrong ones are on top and the one I want on top is on the bottom. How can I fix this?
Asked
Active
Viewed 40 times
-2
-
1Does this answer your question? [All About.... Z-Index?](https://stackoverflow.com/questions/2305669/all-about-z-index) – depperm Sep 20 '21 at 14:43
-
Can you elaborate more? like which plugin are you using or some sample code? – Ajarudin Gunga Sep 20 '21 at 14:45
-
Check z-index but please always add your code so we can exactly know how to help – Somelight Sep 20 '21 at 14:47
-
Please see [ask]. You need to provide more information about your situation. – isherwood Sep 20 '21 at 14:52
1 Answers
1
You can use CSS z-index
Property
The z-index
property specifies the stack order of an element.
An element with greater stack order is always in front of an element with a lower stack order.

Kholid Saifulloh
- 191
- 1
- 1
- 5