Bootstrap Templates - Header - 3 lets you showcase a desktop application on your website in a nice and modern way. The template is fully responsive and was built using the Bootstrap 4 framework.
The design and PSD for this template was provided by Designmodo, I have simply written the HTML & CSS for their design. If you would like to download PSD you can do so here https://designmodo.com/startup/sources/
For a live preview of this template click here.
Block Requirements
- Bootstrap 4
- Font awesome
Implementation
For this to work you must meet the requirements listed above.To make it as easy as possible to incorporate my templates into your own website design I've created two snippet files which you can view at the bottom of this post. The first snippet has the HTML code and the second one has the CSS code. To add these to your website begin by copying the HTML code and pasting it into your websites html file. Finally copy the CSS code and paste it into your websites stylesheet. That's all, Now the block should be working.
HTML Code Snippet:
<!-- Header 3 --> | |
<section class="header-3"> | |
<div class="container h-100 d-flex align-items-center text-center text-lg-left"> | |
<div class="row"> | |
<div class="col-12 col-lg-7 py-5"> | |
<h1>Build Your Own Site like a Lego Constructor</h1> | |
<h2 class="mx-auto mx-lg-0">We have created a new product that will help designers, developers and companies create websites for their startups quickly and easily.</h2> | |
<div class="row my-5 py-0 py-lg-4 justify-content-around justify-content-lg-between"> | |
<div class="col-12 col-md-5"> | |
<i class="fa fa-cogs" aria-hidden="true"></i> | |
<h3 class="my-3">Based on Bootstrap 4</h3> | |
<p>We used only time-tested technologies for the best results.</p> | |
</div> | |
<div class="col-12 col-md-5"> | |
<i class="fa fa-html5" aria-hidden="true"></i> | |
<h3 class="my-3">HTML5 & CSS3</h3> | |
<p>We used only time-tested technologies for the best results.</p> | |
</div> | |
</div> | |
</div> | |
<div class="col-12 col-lg-5"> | |
<img src="https://i.imgur.com/liDOm10.png" alt=""> | |
</div> | |
</div> | |
</div> | |
</section> |
CSS Code Snippet:
/*start of header-3*/ | |
.header-3 { | |
font-family: 'Nunito', sans-serif; | |
font-size: 16px; | |
line-height: 1.5; | |
background: url("https://i.imgur.com/0g4Fddz.png"); | |
background-size: cover; | |
background-position: center; | |
padding: 100px 0; | |
overflow-x: hidden; | |
color: #ffffff; | |
} | |
.header-3 h1 { | |
font-size: 3.875rem; | |
font-weight: 300; | |
margin-top: 0em; | |
margin-bottom: 0.4em; | |
} | |
.header-3 h2 { | |
font-family: 'Nunito Sans', sans-serif; | |
font-size: 1.375rem; | |
font-weight: 300; | |
opacity: 0.7; | |
margin-top: 0.3em; | |
margin-bottom: 0.5em; | |
line-height: 1.4; | |
} | |
.header-3 h3 { | |
font-size: 1.125rem; | |
font-weight: 700; | |
margin-top: 1.2em; | |
margin-bottom: 1.2em; | |
font-family: 'Nunito Sans', sans-serif; | |
} | |
.header-3 p { | |
font-size: 1.125rem; | |
font-weight: 300; | |
opacity: 0.7; | |
margin-top: 0.3em; | |
margin-bottom: 0.5em; | |
font-family: 'Nunito Sans', sans-serif; | |
} | |
.header-3 .fa { | |
font-size: 3.125rem; | |
margin-top: 0.3em; | |
margin-bottom: 0.3em; | |
} | |
@media (min-width: 992px) { | |
.header-3 { | |
height: 100vh; | |
min-height: 850px; | |
padding-top: 0; | |
padding-bottom: 0; | |
} | |
.header-3 img { | |
height: 100%; | |
} | |
} | |
@media (max-width: 992px) { | |
.header-3 img { | |
max-width: 100%; | |
height: auto; | |
} | |
} | |
@media (min-width: 768px) { | |
.header-3 h2 { | |
width: 85%; | |
} | |
} | |
/*end of header-3*/ |
No comments:
Post a Comment