"Parallex Bootstrap Scroll Stellar"
Bootstrap 3.3.0 Snippet by hadi887

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Parallex</title> <!-- Bootstrap --> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap-theme.min.css" rel="stylesheet"> <style> /* All parent elements of .bg-holder must be 100% height for vertical stretch to work */ html, body { width: 100%; height: 100%; } .bg-holder { height: 750px; width: 100%; z-index: 1; } .bg-holder2 { height: 200px; width: 100%; z-index: 1; } .bg-holder#pic1 { background-image: url('http://s1.postimg.org/94djh1m4v/pic1_bigger.jpg');background-attachment: fixed; background-repeat:no-repeat; background-size:100%; } .bg-holder#pic2 { background-image: url('http://s1.postimg.org/l7iv4lx73/pic2_bigger.jpg'); background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } .bg-holder#pic3 { background-image: url('http://s1.postimg.org/f41akp6xb/pic3_bigger.jpg');background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } .bg-holder2#pic4 { background-image:url(img/sun.png); height: 200px; margin: 0 auto; padding: 0; width: 200px; background-repeat:no-repeat; } @media(max-width:991px) { .bg-holder { height: 750px; width: 100%; z-index: 1; } .bg-holder#pic1 { background-image: url('http://s1.postimg.org/94djh1m4v/pic1_bigger.jpg');background-attachment: fixed; background-repeat:no-repeat; background-size:100%; } .bg-holder#pic2 { background-image: url('http://s1.postimg.org/l7iv4lx73/pic2_bigger.jpg'); background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } .bg-holder#pic3 { background-image: url('http://s1.postimg.org/f41akp6xb/pic3_bigger.jpg');background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } } @media(max-width:767px) { .bg-holder { height: 384px ; width: 100% ; z-index: 1 ; } .bg-holder#pic1 { background-image: url('http://s1.postimg.org/x5kfii0y7/pic1.jpg'); background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } .bg-holder#pic2 { background-image: url('http://s1.postimg.org/x5kfii0y7/pic1.jpg');background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } .bg-holder#pic3 { background-image: url('http://s1.postimg.org/4q5257bkf/pic3.jpg'); background-attachment: fixed;background-repeat:no-repeat; background-size:100%; } } </style> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Brand</a> </div> <!-- Collect the nav links, forms, and other content for toggling --> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <ul class="nav navbar-nav"> <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> <li class="divider"></li> <li><a href="#">One more separated link</a></li> </ul> </li> </ul> <form class="navbar-form navbar-left" role="search"> <div class="form-group"> <input type="text" class="form-control" placeholder="Search"> </div> <button type="submit" class="btn btn-default">Submit</button> </form> <ul class="nav navbar-nav navbar-right"> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a> <ul class="dropdown-menu" role="menu"> <li><a href="#">Action</a></li> <li><a href="#">Another action</a></li> <li><a href="#">Something else here</a></li> <li class="divider"></li> <li><a href="#">Separated link</a></li> </ul> </li> </ul> </div> <!-- /.navbar-collapse --> </div> <!-- /.container-fluid --> </nav> <div id="pic1" class="bg-holder" data-stellar-background-ratio="0.4"> </div> <div class="container"> <div class="jumbotron"> <h1 id="hello,-world!">Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> </div> </div> <div id="pic2" class="bg-holder" data-stellar-background-ratio="0.4"></div> <div class="container"> <div class="jumbotron"> <h1 id="hello,-world!">Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> </div> </div> <div id="pic3" class="bg-holder" data-stellar-background-ratio="0.4"></div> <div class="container"> <div class="jumbotron"> <h1 id="hello,-world!">Hello, world!</h1> <p>This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p> <p><a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a></p> </div> </div> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> <script type="text/javascript" src="http://yourjavascript.com/9531166121/jquery-stellar.js"></script> <script type="text/javascript" src="http://yourjavascript.com/1161652125/scrip.js"></script> <script type="text/javascript" src="http://yourjavascript.com/1561216115/jquery-nicescroll.js"></script> </body> </html>

Related: See More


Questions / Comments: