From 6c1f37bba595e73125c005ac17b686bfffdb501c Mon Sep 17 00:00:00 2001 From: Kyle <41976328+ImKyle4815@users.noreply.github.com> Date: Thu, 4 Jun 2020 18:33:19 -0700 Subject: [PATCH] Update styles.css --- styles.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index 23515e65..dfbbd026 100644 --- a/styles.css +++ b/styles.css @@ -299,8 +299,15 @@ input[type='checkbox'], select, option, input[type='file'], button { margin-bottom: 2rem; } .fiveSampleCards > div > img { - position: relative; - width: 100%; + position: relative; + width: 100%; +} +.fiveSampleCards > div { + transition: transform 0.5s; +} +.fiveSampleCards > div:hover { + z-index: 100; + transform: translate(0, -1em); } .layer.revealedLayer > div > div > div > .sample1 { animation: sample-one 2s;