diff --git a/css/card.css b/css/card.css index 08ca36a..545a0d0 100644 --- a/css/card.css +++ b/css/card.css @@ -169,7 +169,8 @@ nav ul li a:hover { .cards { display: flex; - position: absolute; + align-items: center; + position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%);