From 48b3936489982e94d75264be749ef8ffa8ea56a0 Mon Sep 17 00:00:00 2001 From: Robert McGovern Date: Sat, 11 Sep 2021 15:26:44 +0100 Subject: [PATCH] tweak to fix position of Profile Card Components attribution and adjust profile pic to contained --- .../newbie/profile-card-component/css/style.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/FrontendMentor/newbie/profile-card-component/css/style.css b/FrontendMentor/newbie/profile-card-component/css/style.css index 869ddd9..4708032 100644 --- a/FrontendMentor/newbie/profile-card-component/css/style.css +++ b/FrontendMentor/newbie/profile-card-component/css/style.css @@ -63,6 +63,7 @@ body { position: relative; margin: 0 auto; background: url(../images/image-victor.jpg); + background-size: contain; width: 96px; height: 96px; @@ -142,14 +143,14 @@ body { left: 100%; } -.attribution { +footer { position: absolute; + bottom: 1rem; +} + +.attribution { font-size: 11px; text-align: center; bottom: 1rem; } .attribution a { color: hsl(228, 45%, 44%); } - -@media screen and (min-width: 1100px) { - -}