Line 10: | Line 10: | ||
.parallax { | .parallax { | ||
/* The image used */ | /* The image used */ | ||
− | background-image: url("https://static.igem.org/mediawiki/2017/ | + | background-image: url("https://static.igem.org/mediawiki/2017/1/12/T--Harvard--TeamPhotoSans.jpg"); |
+ | |||
/* Set a specific height */ | /* Set a specific height */ | ||
min-width: 100%; | min-width: 100%; | ||
min-height: 50%; | min-height: 50%; | ||
− | height: | + | height: 500px; |
width: 100%; | width: 100%; | ||
+ | |||
+ | |||
+ | |||
+ | |||
/* Create the parallax scrolling effect */ | /* Create the parallax scrolling effect */ | ||
Line 23: | Line 28: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
− | |||
} | } | ||
Revision as of 02:04, 30 October 2017