From ce84a0ce51ce2654b9ce6588250adea50d4208d2 Mon Sep 17 00:00:00 2001 From: Daniel Murphy Date: Wed, 12 Jan 2022 19:37:15 -0500 Subject: [PATCH] Simplify solution --- grid/03-grid-layout-3/solution/solution.css | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/grid/03-grid-layout-3/solution/solution.css b/grid/03-grid-layout-3/solution/solution.css index 9dbf613..9221f1f 100644 --- a/grid/03-grid-layout-3/solution/solution.css +++ b/grid/03-grid-layout-3/solution/solution.css @@ -115,18 +115,15 @@ .header { grid-column: 1 / 3; - grid-row: 1 / 2; display: grid; grid-template-columns: 1fr 2fr; } .logo { - grid-column: 1 / 2; justify-self: start; } .menu { - grid-column: 2 / 3; align-self: center; } @@ -141,7 +138,6 @@ } .sidebar { - grid-column: 1 / 2; grid-row: 2 / 4; display: grid; gap: 50px; @@ -157,11 +153,6 @@ align-items: center; } -.nav { - grid-column: 2 / 3; - grid-row: 2 / 3; -} - .nav ul { list-style-type: none; display: grid; @@ -169,8 +160,6 @@ } .article { - grid-column: 2 / 3; - grid-row: 3 / 4; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); grid-template-rows: repeat(2, 1fr); @@ -187,5 +176,4 @@ .footer { grid-column: 1 / 3; - grid-row: 4 / 5; }