-2

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?

isherwood
  • 52,576
  • 15
  • 105
  • 143

1 Answers1

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.