Card 2 system is flip from other cards

https://codepen.io/T031C/pen/eYjWpjK this was a card system i was making and the second card's function is inverted from the other cards It was working before with me calling each element but that was repeating everything and i tried making it into querySelectorAll and now this happens
TOXIC
CodePen
eYjWpjK
...
2 Replies
MarkBoots
MarkBoots2y ago
it hard to understand without knowing what it should do. Do you have the original (the version before you altered it) ?
TOXIC
TOXIC2y ago
Not really but the card 2 should not be position absolute And they should be position inherit But now the problem is that when card1 and 3 is position inherit , card2 is position absolute, resulting card two floating in the middle
Want results from more Discord servers?
Add your server