Skip to content
Advertisement

How to slide up only one card box at once from lists of cards?

Here are the code for my website which look like this :

My CSS Look like this :

JavaScript

Here is the HTML

JavaScript

Javascript look like this :

JavaScript

Its Slide up all cards lists items all at once I want to know how to implement it for single item at once!

Is there any way to hover the single item and its slide up like this only but for single item only!

Advertisement

Answer

Use this to refer the hovered card

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement