diff --git a/css/index.css b/css/index.css index 97466e7..207c5f9 100644 --- a/css/index.css +++ b/css/index.css @@ -5,10 +5,34 @@ background-position: center; background-repeat: no-repeat; background-size: cover; - height: 100%; + height: 100vh; } +.container{ + max-width: 1700px; + margin: 0px auto; +} + +@media (max-widh:1200px){ + .container{ + max-width: 970px; + } +} + +@media (max-widh:992px){ + .container{ + max-width: 750px; + } +} + +@media (max-widh:767px){ + .container{ + max-width: none; + } +} + + .kotya{ width: 500px; padding: 40px; diff --git a/index.htm b/index.htm index 1def783..d451ca1 100644 --- a/index.htm +++ b/index.htm @@ -2,16 +2,20 @@ - Ты котя? + + -
-

Ты котя?

- - +
+
+

Ты котя?

+ + +
+ \ No newline at end of file