update peeking animation
This commit is contained in:
@@ -222,7 +222,8 @@ h2 {
|
||||
|
||||
@keyframes rotate-and-back {
|
||||
0% { transform: rotateY(0); }
|
||||
50% { transform: rotateY(15deg); }
|
||||
33% { transform: rotateY(5deg); }
|
||||
66% { transform: rotateY(-5deg); }
|
||||
100% { transform: rotateY(0); }
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
group relative flex flex-col rounded-2xl transition-all duration-300 hover:-translate-y-3"
|
||||
>
|
||||
<!--Flip Card container-->
|
||||
<div class="flip-box-inner rounded-2xl " class:show-back={showDescription}>
|
||||
<div class="flip-box-inner rounded-2xl" class:show-back={showDescription}>
|
||||
<!--Front Side-->
|
||||
<!--Opacity thing is to fix the visual bug on ios-->
|
||||
<div class="flip-box-front bg-ecsess-950 shadow-xl shadow-ecsess-950/60 rounded-2xl transition-opacity duration-500 {showDescription ? 'opacity-0 pointer-events-none' : 'opacity-100'}">
|
||||
|
||||
Reference in New Issue
Block a user