Line 108: | Line 108: | ||
#toc, .toc { | #toc, .toc { | ||
display: none; | display: none; | ||
+ | } | ||
+ | |||
+ | .parallax { | ||
+ | /* The image used */ | ||
+ | background-image: url("img_parallax.jpg"); | ||
+ | |||
+ | /* Set a specific height */ | ||
+ | height: 500px; | ||
+ | |||
+ | /* Create the parallax scrolling effect */ | ||
+ | background-attachment: fixed; | ||
+ | background-position: center; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: cover; | ||
} | } | ||
Revision as of 14:15, 4 August 2017