From c596e4764a59b91c3e09912bd1a5d59ea88ea85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=AD=D0=BC=D0=B8=D0=BB=D1=8C?= Date: Fri, 23 Aug 2024 19:03:28 +0300 Subject: [PATCH] hz --- index.html | 2 +- styles.css | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 10be50a..61391a4 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

Дача Сталина

- заглавная фотография участка
diff --git a/styles.css b/styles.css index 6bfe725..cbb34df 100644 --- a/styles.css +++ b/styles.css @@ -23,13 +23,17 @@ p { } -.main-preview{ +.main-preview { text-align: center; background-color: blue; width: 100%; height: 80vh; } +.main-preview-image { + height: 100%; +} + section{ background-color: darkred; margin: auto; @@ -62,6 +66,7 @@ section{ display: inline-block; text-align: center; background-color: orange; + width: 30%; } .card-description-box { height: 80%; @@ -73,4 +78,5 @@ section{ .card-image{ display: block; + width: 100%; }