-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
  • 58,414
  • 16
  • 114
  • 157

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.

Kholid Saifulloh
  • 191
  • 1
  • 1
  • 5