Skip to content

Instantly share code, notes, and snippets.

@MuratOrs
Created March 11, 2016 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MuratOrs/5ebe5249a3f4798c85a3 to your computer and use it in GitHub Desktop.
Save MuratOrs/5ebe5249a3f4798c85a3 to your computer and use it in GitHub Desktop.
Два фона на одной странице
/*Этот трюк был показан на одном из своих сайтов преподавателем Куном в HZ*/
#header {
background-image: url(../images/achtergrond3.jpg);
height:70%;
background-position: center center;
background-size: cover;
background-attachment: fixed;
}
#header2 {
background-image: url(../images/achtergrond4.jpg);
height:30%;
background-position: center center;
background-size: cover;
background-attachment: fixed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment