From 51120a9d31c6386205214a228361e4d8842ae8f7 Mon Sep 17 00:00:00 2001 From: Marlow Alfonso Date: Sun, 14 Apr 2024 20:02:10 +0000 Subject: [PATCH] feat: edited a bit the css replaced width with max-width in #avatar and added border-radius to the portfolio images --- styles.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 5554229..955f5b3 100644 --- a/styles.css +++ b/styles.css @@ -54,7 +54,7 @@ body { } #avatar { - width: 256px; + max-width: 256px; float: right; border-radius: 8px; } @@ -63,10 +63,15 @@ body { justify-items: center; gap: 4px; } + #gallery { display: grid; grid-template-columns: repeat(3, 1fr); } +#gallery img { + border-radius: 8px; +} + @media screen and (max-width: 900px) { #buttons { display: grid;