Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- header {
- min-height: 700px;
- background-image: url(../img/fon-header.jpg);
- background-position: top center;
- -o-background-size: cover;
- -moz-background-size: cover;
- -webkit-background-size: cover;
- background-size: cover;
- }
- //адаптивная картинка в header при min-height
- function wResize() {
- $("header").css("height", $(window).height());
- };
- wResize();
- $(window).resize(function() {
- wResize();
- });
Add Comment
Please, Sign In to add comment