Yasmin1304 (Talk | contribs) |
Yasmin1304 (Talk | contribs) |
||
Line 28: | Line 28: | ||
height: 100%; | height: 100%; | ||
} | } | ||
− | + | .main{ | |
− | background-image: url( | + | /* The image used */ |
+ | background-image: url('https://static.igem.org/mediawiki/2017/1/11/Cmuq.jpg'); | ||
+ | |||
+ | /* Full height */ | ||
+ | height: 1000px; | ||
+ | |||
+ | /* Create the parallax scrolling effect */ | ||
+ | background-attachment: fixed; | ||
+ | background-position: center; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: cover; | background-size: cover; | ||
− | + | opacity: 0.9; | |
− | + | ||
− | + | ||
} | } | ||
Revision as of 14:14, 1 November 2017