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