"Basic CSS Parallax Scrolling Effects"
Bootstrap 4.0.0 Snippet by kbuchana

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <section class="sec1"></section> <section class="secText"> <h1>Basic CSS Parallax Scrolling Effects</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </section> <section class="sec2"></section> <section class="secText"> <h1>Basic CSS Parallax Scrolling Effects</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </section> <section class="sec3"></section> <section class="secText"> <h1>Basic CSS Parallax Scrolling Effects</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </section> <section class="sec4"></section> <section class="secText"> <h1>Basic CSS Parallax Scrolling Effects</h1> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </section>
body { margin:0; padding:0; font-family: sans-serif; } section { width: 100%; height: 100vh; box-sizing: border-box; } section.sec1 { background: url(https://www.planwallpaper.com/static/images/1730832.jpg); background-size: cover; background-position: center center; background-attachment: fixed; } section.sec2 { background: url(https://www.hdwallpapers.in/walls/autumn_bench-HD.jpg); background-size: cover; background-position: center center; background-attachment: fixed; } section.sec3 { background: url(https://i.pinimg.com/originals/18/14/9a/18149afc5f3901fc22be42aef0d1463c.jpg); background-size: cover; background-position: center center; background-attachment: fixed; } section.sec4 { background: url(https://www.planwallpaper.com/static/images/cool-wallpaper-5_G6Qe1wU.jpg); background-size: cover; background-position: center center; background-attachment: fixed; } section.secText { padding: 50px 100px; height: auto; } section.secText h1 { margin:0; padding:0; font-size:48px; color:#262626; } section.secText p { font-size:18px; }

Related: See More


Questions / Comments: