Added settings for header image proportionally scaling.

This commit is contained in:
Svetlana Rastegina 2021-02-02 22:49:43 +01:00 committed by Georgy Litvinov
parent 4af60eba58
commit e5c99a01e3

View file

@ -27,6 +27,13 @@ body {
margin: 0 auto; margin: 0 auto;
} }
body { body {
position: absolute;
top: 0px;
left: 0px;
min-width: 700px;
max-width: 1920px;
width: 100%;
background-size: 100%;
background: url(../images/header-image.png) center 0 no-repeat; background: url(../images/header-image.png) center 0 no-repeat;
height: 200px; height: 200px;
} }