From 3b494371fb7ea0814dd22daf17c1f96accc0f038 Mon Sep 17 00:00:00 2001 From: Guus van Meerveld <57101832+Guusvanmeerveld@users.noreply.github.com> Date: Wed, 11 Dec 2019 13:25:32 +0100 Subject: [PATCH] Fixed some things on homepage --- css.css | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/css.css b/css.css index d047a8d..2253f20 100644 --- a/css.css +++ b/css.css @@ -10,18 +10,14 @@ text-align: center; height: 5rem; } -.launchRocket:focus + #rocket { +.name:hover + #rocket { animation-name: launchRocket; animation-duration: 2.5s; animation-timing-function: ease-in-out; } @keyframes launchRocket { - from { - top: 85vh - } - to { - top: -20vh - } + from {top: 85vh} + to {top: -20vh} } #rocket { position: absolute; @@ -93,6 +89,7 @@ padding: 1rem; text-align: center; display: inline-block; + height: 10rem; width: 25rem; border-right: 4px solid white; }