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%; }