From a6017b4d268e5b6e991a2ad29b73e9ba5ab4a92f Mon Sep 17 00:00:00 2001 From: Jamison Date: Tue, 21 Apr 2020 16:41:41 -0400 Subject: [PATCH] fixed horizontal scrolling --- css/final-5.1.2020.css | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/css/final-5.1.2020.css b/css/final-5.1.2020.css index 1b12443..979c0a1 100644 --- a/css/final-5.1.2020.css +++ b/css/final-5.1.2020.css @@ -138,7 +138,7 @@ background-image: url("../img/main1-background.jpg"); background-size: cover; background-repeat: no-repeat; - width: 100vw; + width: 100%; height: 200px; display: flex; align-items: center; @@ -171,7 +171,7 @@ } /* part 2--------------------------------------*/ #main2 { - width: 100vw; + width: 100%; height: 500px; display: flex; align-items: center; @@ -183,7 +183,7 @@ padding: 0 40px } #main2 picture img { - width: 100vw; + width: 100%; height: 200px; } #main2 h3 { @@ -228,7 +228,7 @@ margin-top: 0; } #main4 picture img { - width: 100vw; + width: 100%; height: 200px; } #main4 .dog h3 { @@ -392,7 +392,7 @@ padding: 0 40px; } #main2 picture img { - width: 100vw; + width: 100%; height: 400px; padding: 5%; } @@ -490,7 +490,6 @@ box-shadow: 1px 2px 5px black ; } #main7 form input::placeholder { - color: ; font-size: 10px; } /* footer----------------------------------------*/ @@ -624,7 +623,7 @@ #main7 img { width: 15%; position: absolute; - top: 28%; + top: 22%; right: 12%; } #main7 h2 {