diff --git a/templates/list.html b/templates/list.html index 5422e65..049d750 100644 --- a/templates/list.html +++ b/templates/list.html @@ -129,10 +129,16 @@ .behind { z-index: 98; cursor: pointer; + transform: translateY(5px) scale(0.98); + transform-origin: top; + transition-property: transform; + transition-duration: 0.5s; } .front { z-index: 99; + transition-property: transform; + transition-duration: 0.5s; } .judge { @@ -148,7 +154,7 @@ .new { position: relative; - margin: 20px 20px 30px 0; + margin: 30px 20px 30px 0; } .twin-collapse {