From 404c1fb5bf4c65e401bed345a98dc0ca1825dc4e Mon Sep 17 00:00:00 2001 From: oldoc63 Date: Thu, 24 Mar 2022 08:37:36 -0400 Subject: [PATCH] =?UTF-8?q?When=20a=20website=20contains=20media,=20it?= =?UTF-8?q?=E2=80=99s=20important=20to=20make=20sure=20that=20it=20is=20sc?= =?UTF-8?q?aled=20proportionally=20#762?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- responsiveDesign/style.css | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/responsiveDesign/style.css b/responsiveDesign/style.css index 53a644b..a0e90cc 100644 --- a/responsiveDesign/style.css +++ b/responsiveDesign/style.css @@ -13,23 +13,23 @@ body { } .image-container img { - display: block; max-width: 100%; height: auto; + display: block; } /* Banner Section */ p { min-width: 200px; - min-height: 200px; + min-height: 200px; } #banner { height: 46rem; background-image: url('camel-background.png'); background-position: center; - background-size: cover; + background-repeat: no-repeat; display: flex; justify-content: center; @@ -71,7 +71,7 @@ p { .post h2 { font-size: 1.875rem; - margin-bottom: 1.5rem; + } .post h3 { @@ -86,12 +86,6 @@ p { font-weight: bold; } -.post p, -.post .image-container { - margin-bottom: 2rem; - width: 100%; -} - .post .image-container { width: 100%; }