I wanna use a link inside a expandable card that close the card and opens another one.
I use this code is inside of CARD #1:
<a href="#" class="card-open" data-card=".card-2">LINK</a>
CARD #2 includes
class="card card-expandable card-2" but this is not working.
I’ve tried including the class
card-close card-open at the same time with no luck.
Can anyone help me? I’m kinda new in this…