Created
March 11, 2016 01:46
-
-
Save MuratOrs/5ebe5249a3f4798c85a3 to your computer and use it in GitHub Desktop.
Два фона на одной странице
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Этот трюк был показан на одном из своих сайтов преподавателем Куном в 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