<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 ---------->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<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="#">Project name</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<!--carosel-->
<div id="thumbnail-preview-indicators" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<!--Make sure ID names matches ID indicators-->
<ol class="carousel-indicators">
<li data-target="#thumbnail-preview-indicators" data-slide-to="0" class="active"></li>
<li data-target="#thumbnail-preview-indicators" data-slide-to="1"></li>
<li data-target="#thumbnail-preview-indicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="item slides active">
<div class="slide-1"></div>
<div class="container">
<div class="carousel-caption">
<h1>Welcome To Dragon Hatchlings Website</h1>
<p>Check out all of my Projects</p>
<p><a class="btn btn-lg btn-primary" href="#" role="button">Main Gallery</a></p>
</div>
</div>
</div>
<div class="item slides">
<div class="slide-2"></div>
<div class="container">
<div class="carousel-caption">
<h1>2D Graphics</h1>
<p>Pictures and creations I've done</p>
<p><a class="btn btn-lg btn-primary" href="#" role="button">Go to Gallery</a></p>
</div>
</div>
</div>
<div class="item slides">
<div class="slide-3"></div>
<div class="container">
<div class="carousel-caption">
<h1>3D Projects</h1>
<p>Short 3D animations</p></p>
<p><a class="btn btn-lg btn-primary" href="#" role="button">Browse Gallery Here</a></p>
</div>
</div>
</div>
</div>
<a class="left carousel-control" href="#thumbnail-preview-indicators" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a>
<a class="right carousel-control" href="#thumbnail-preview-indicators" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a>
</div>
<!--info-->
<div class="container">
<br>
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Hey!</strong> This is <a href="https://bootsnipp.com/fullscreen/K0n2g" target="_blank">best viewed in full screen!</a><br>
<p class="text-right">
Validate it here! -> <a href="https://validator.w3.org/nu/?showsource=yes&doc=https%3A%2F%2Fbootsnipp.com%2Ffullscreen%2FaMkRo#l23c87" target="_blank"><small>HTML</small><sup>5</sup></a>
</p>
</div>
<!-- Example row of columns -->
<div class="row">
<div class="col-md-3">
<h2>About me</h2>
<img src="https://img00.deviantart.net/2eac/i/2010/203/a/5/dragon_bat_thing____by_werecatwarrior.jpg" class="img-circle img-responsive" alt="Dragon Bat Thing">
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details »</a></p>
</div>
<div class="col-md-3">
<h2>Heading</h2>
<i class="glyphicon glyphicon-fire fa-5x" aria-hidden="true"></i>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details »</a></p>
</div>
<div class="col-md-3">
<h2>Heading</h2>
<img src="https://t00.deviantart.net/9H6MPohRy8DDWPJBGMFr7lA4YEU=/fit-in/700x350/filters:fixed_height(100,100):origin()/pre00/f461/th/pre/i/2010/203/7/a/transformation_by_werecatwarrior.jpg" class="img-circle img-responsive" alt="Headshot">
<i class="glyphicon glyphicon-flash fa-5x" aria-hidden="true"></i>
<p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
<p><a class="btn btn-default" href="#" role="button">View details »</a></p>
</div>
<div class="col-md-3">
<h2>Heading</h2>
<i class="glyphicon glyphicon-tower fa-5x" aria-hidden="true"></i>
<p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<p><a class="btn btn-default" href="#" role="button">View details »</a></p>
</div>
</div>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/Q04T4HUxiH0"></iframe>
</div>
<br>
<!--Parallax-->
<div>
<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>
</div>
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
<strong>Hey!</strong> You Found the Alert!!! Now close it.
</div>
<div class="alert alert-danger" role="alert">
<strong>Watch Out!</strong> You're at the end of the page!
</div>
<hr>
<footer class="text-center">
<p><a href="https://confederation.blackboard.com/"><i class="glyphicon glyphicon-knight fa-2x"></i></a></p>
<p>© 2016 Company, Inc.</p>
</footer>
</div> <!-- /container -->
body {
/* for nav bar*/
margin-top: 50px;
}
h1 {
color: #f00;
}
img {
padding: 50px;
}
/*
-----------------------------------
Code snippet by @maridlcrmn
Credits images: www.unsplash.com
-----------------------------------
*/
#thumbnail-preview-indicators {
position: relative;
overflow: hidden;
}
#thumbnail-preview-indicators .slides .slide-1,
#thumbnail-preview-indicators .slides .slide-2,
#thumbnail-preview-indicators .slides .slide-3 {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
#thumbnail-preview-indicators,
#thumbnail-preview-indicators .slides,
#thumbnail-preview-indicators .slides .slide-1,
#thumbnail-preview-indicators .slides .slide-2,
#thumbnail-preview-indicators .slides .slide-3 {
height: 480px;
}
#thumbnail-preview-indicators .slides .slide-1 {
background-image: url(https://img00.deviantart.net/b891/i/2012/334/5/b/eyes_by_werecatwarrior-d5mmbmm.jpg);
}
#thumbnail-preview-indicators .slides .slide-2 {
background-image: url(https://i.ytimg.com/vi/JvAauG7HQ7I/maxresdefault.jpg);
}
#thumbnail-preview-indicators .slides .slide-3 {
background-image: url(http://images6.fanpop.com/image/photos/37500000/The-dragon-of-hell-liam-a-dragon-37509157-1920-1080.jpg);
}
#thumbnail-preview-indicators .carousel-inner .item .carousel-caption {
top: 20%;
bottom: inherit;
}
#thumbnail-preview-indicators .carousel-indicators li,
#thumbnail-preview-indicators .carousel-indicators li.active {
position: relative;
width: 100px;
height: 8px;
}
#thumbnail-preview-indicators .carousel-indicators li > .thumbnail {
position: absolute;
top: 0;
width: 100px;
display: none;
opacity: 0;
left: 50%;
margin-top: -80px;
margin-left: -50px;
}
#thumbnail-preview-indicators .carousel-indicators li:hover > .thumbnail,
#thumbnail-preview-indicators .carousel-indicators li.active > .thumbnail {
display: block;
opacity: .8;
}
#thumbnail-preview-indicators .carousel-indicators li.active > .thumbnail:hover{
opacity: 1;
}
@media screen and (max-width : 480px) {
#thumbnail-preview-indicators .carousel-indicators li,
#thumbnail-preview-indicators .carousel-indicators li.active {
width: 50px;
height: 8px;
position: relative;
}
#thumbnail-preview-indicators .carousel-indicators li > .thumbnail {
width: 50px;
left: 50%;
margin-top: -50px;
margin-left: -25px;
}
}
body {
margin:0;
padding:0;
font-family: sans-serif;
}
section {
width: 100%;
height: 100vh;
box-sizing: border-box;
}
section.sec1 {
background: url(http://wallpapers-and-backgrounds.net/wp-content/uploads/2016/01/scary-hd-wallpaper_1_1920x1200.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
}
section.sec2 {
background: url(https://wallpaperscraft.com/image/dragon_age_inquisition_dragon_age_pc_xbox_360_xbox_one_playstation_3_playstation_4_bioware_93158_3840x2160.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
}
section.sec3 {
background: url(http://www.overheat.ro/wp-content/uploads/2016/08/World-of-Warcraft-Legion-Wallpaper-02.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
}
section.sec4 {
background: url(http://www.lol-wallpapers.com/wp-content/uploads/2017/04/Cosmic-Dusk-Xayah-Cosmic-Dawn-Rakan-Splash-Art-HD-Wallpaper-Artwork-League-of-Legends-lol-3.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;
}