Closed CoCoSol007 closed 6 months ago
Hey, for my personal website, I created a flex with my projects cards. The code :
<div class="container mx-auto my-8 flex flex-wrap justify-center"> <div class="flex flex-row m-5 w-full lg:w-1/3 px-4 mb-4 duration-300 hover:scale-105 bg-gray-900 p-6 rounded-lg shadow-md border border-gray-700"> ...
I want to apply an animation to each card, but it didn't work. The code :
<div class="container mx-auto my-8 flex flex-wrap justify-center"> <div class="duration-[600ms] delay-100 taos:[transform:translate3d(0,200px,0)_scale(0.6)] taos:opacity-0" data-taos-offset="100"> <div class="flex flex-row m-5 w-full lg:w-1/3 px-4 mb-4 duration-300 hover:scale-105 bg-gray-900 p-6 rounded-lg shadow-md border border-gray-700"> ...
PS: it's a Svelte project
You shouldn't need to create a wrapper div. Can just add it to flex
Yes, it's work. Thx
Hey, for my personal website, I created a flex with my projects cards. The code :
I want to apply an animation to each card, but it didn't work. The code :