HTML code
This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection
Download<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="error-header"> </div>
<div class="container ">
<section class="error-container text-center">
<h1>404</h1>
<div class="error-divider">
<h2>PAGE NOT FOUND.</h2>
<p class="description">We Couldn't Find This Page</p>
</div>
<a href="#" class="return-btn"><i class="fa fa-home"></i>Home</a>
</section>
</div>
CSS code
This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection
Downloadbody{
background-color: #39bbdb;
color: #fff;
padding-bottom: 0;
min-height: 100%;
font-family: 'Open Sans','Segoe UI';
font-size: 13px;
}
.error-header {
background: #fff;
height: 180px;
}
.error-container {
background: rgba(0,0,0,.05);
text-align: center;
}
.error-container h1 {
color: #39bbdb;
}
.error-container h1 {
font-size: 110px;
font-weight: 300;
margin: -103px 0 0 0;
text-align: center;
}
.error-divider {
margin-top: -27px;
padding: 30px 0;
}
.error-container h2 {
font-size: 58px;
font-weight: 300;
margin: 0;
text-transform: uppercase;
}
.error-container p.description {
color: #e5e5e5;
font-size: 40px;
margin: 0;
}
.return-btn, .return-btn:hover {
border: 1px solid rgba(255,255,255,.3);
padding: 10px 15px;
margin-top: 100px;
margin-bottom: 30px;
display: inline-block;
-webkit-border-radius: 5px;
-webkit-background-clip: padding-box;
-moz-border-radius: 5px;
-moz-background-clip: padding;
border-radius: 5px;
background-clip: padding-box;
color: #fff;
font-size: 16px;
font-weight: 300;
}
a:hover{
text-decoration:none;
}
About this bootstrap example/template
This example/template, 404 error page, was published on Jun 30th 2015, 23:55 by Bootdey Admin and it is free.
We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.
We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.
This code example currectly have 10.6K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 3.3.4
<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'>
<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>
This code example is based on bootstrap 3.3.4 and the grid system of this framework
Responsive
Based on bootstrap framework makes all the layouts perfectly responsive for all devices
Crossbrowser compatibility
Tested on all major browsers, it works smoothly on all of them
semantic html 5
Built on html / css3 the code quality is really amazing
Simple Integration
This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working