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 4.0.0 included, to get the result that you can see in the preview selection
Download
<section class="logo-header">
<div class="container h-100">
<div class="row h-100 align-items-center">
<div class="col-12 col-md-12 text-center header-content">
<img src="https://i.imgur.com/A0t1a3D.png" class="img-fluid logo" alt="logo">
<h1>Let's make design fast and easy.</h1>
<p>We offer a huge collection of simple, beautiful and ready to use blocks. All blocks can be downloaded free of charge from learnwd.com</p>
<p>
<a class="btn btn-primary rounded" href="https://www.learnwd.com/">Download Now</a>
</p>
</div>
</div>
</div>
</section>
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 4.0.0 included, to get the result that you can see in the preview selection
Download
.logo-header {
background: linear-gradient(rgba(62, 63, 64, 0.6), rgba(62, 63, 64, 0.6)), url("https://i.imgur.com/FVieG2F.png");
background-size: cover;
background-position: center bottom;
color: #fff;
font-family: 'Nunito', sans-serif;
padding-top: 150px;
padding-bottom: 100px;
}
.logo-header h1 {
font-size: 3rem;
font-weight: 300;
margin: 0 auto 0.2em auto;
}
.logo-header p {
font-size: 1.15rem;
width: 80%;
margin: 0 auto 2em auto;
}
.logo-header .logo {
margin: 0 auto 1em auto;
}
.logo-header .btn {
padding: 10px 26px;
background-color: #313131;
color: #FFF;
display: inline-block;
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
text-decoration: none;
border: solid 2px #313131;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
.logo-header .btn:hover {
color: #FFF;
background-color: #1f69ff;
border-color: #1f69ff;
}
@media (min-width: 992px) {
.logo-header {
height: 100vh;
padding-top: 0;
padding-bottom: 0;
}
.logo-header h1 {
font-size: 4rem;
}
.logo-header p {
width: 60%;
}
}
@media (max-width: 480px) {
.logo-header h1 {
font-size: 2.4rem;
}
}

About this bootstrap example/template
This example/template, Header Section with a Logo, was published on May 16th 2018, 04:57 by Gustav Fors 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 755 views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.0.0
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>
<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>
This code example is based on bootstrap 4.0.0 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