From 3af879d56533264b472a35fb2fd7d641df688724 Mon Sep 17 00:00:00 2001 From: pryazha Date: Thu, 9 Jan 2025 14:30:50 +0500 Subject: change ul and flexbox --- style.css | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index 3f70ca5..43e199e 100644 --- a/style.css +++ b/style.css @@ -3,7 +3,7 @@ body { max-width: 650px; line-height: 1.6; font-size: 18px; - padding: 0 10px; + padding: 0; color: #404040; } @@ -11,14 +11,6 @@ h1, h2, h3 { line-height: 1.2; } -#flex { - display: flex; -} - -main { - order: 1; -} - img { width: 100%; } @@ -28,6 +20,13 @@ footer { padding: 30px 0; } -nav { - order: 2; +ul { + list-style-type: none; + margin: 0; + padding: 0; +} + +.flex-container { + display: flex; + justify-content: space-evenly; } -- cgit v1.2.3-70-g09d2