I just started using the fullpage.js (?) Library, and I'm wondering how to add a background image to the section. I tried to add a new section inside the section, and also add a new class to the section, but to no avail. Please, help!
HTML
<div class="section bg" id="section0"><h1>Section</h1></div> <div class="section" id="section1"> <div class="slide active"><div class="wrap"><h1>Hello fullPage.js</h1></div></div> <div class="slide"><h1>This is an awesome plugin</h1></div> <div class="slide"><h1>Which enables you to create awesome websites</h1></div> <div class="slide"><h1>In the most simple way ever</h1></div> </div> <div class="section" id="section2"><h1>Just testing it</h1></div> <div class="section" id="section3"><h1>Looks good</h1></div> </body>
CSS (My custom css on top of the standard)
.bg { background: url(../img/Blurred%20Backgrounds%20(13).jpg) no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
Will b
source share