From 333dd2defa03bb4bd95c71aec59fb68c59b81219 Mon Sep 17 00:00:00 2001 From: Adrien Abraham Date: Wed, 25 Apr 2018 20:22:21 +0200 Subject: [PATCH] Add nice height transition on release hover --- label/static/label/css/releases.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/label/static/label/css/releases.css b/label/static/label/css/releases.css index 698621e..554d38d 100644 --- a/label/static/label/css/releases.css +++ b/label/static/label/css/releases.css @@ -12,12 +12,17 @@ .release .cover { flex-shrink: 0; + transition: height 1s ease-in-out; height: 120px; width: 300px; background-image: url('https://f4.bcbits.com/img/a3032423923_10.jpg'); background-size: cover; } +.release .cover:hover { + height: 300px; +} + .release .infos { margin-left: 10px; }