Bootstrap snippet. header banner with background

This Bootstrap snippet. header banner with background, was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: banner

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link href="" rel="stylesheet">
<div class="head-bg">
	<div class="head-bg-img"></div>
	<div class="head-bg-content">
		<h1>Your Best Social Network Template</h1>
		<p>Donec in rhoncus tortor. Sed tristique auctor ligula vel viverra</p>
		<a class="btn btn-primary btn-lg"><i class="fa fa-facebook"></i>sign up via facebook</a>
		<a class="btn btn-default btn-lg"><i class="fa fa-lock"></i>sign up now</a>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection


.head-bg {
    background: #000;
    position: relative;
    padding: 10px;
    margin-bottom: 50px;

.head-bg-img {
    position: absolute;
    left: 0;
    top: 0;
    background: url(;
    height: 100%;
    width: 100%;
    background-size: cover;
    opacity: 0.2;
    z-index: 1;
    background-position: center center;

.head-bg-content {
    height: 400px;
    text-align: center;
    position: relative;
    z-index: 200;
    display: table-cell;
    vertical-align: middle;
    width: 5000px;

.head-bg-content h1 {
    font-size: 32px;
    line-height: 40px;
    color: #FFF;
    font-family: 'Conv_helveticaneuecyr-bold';
    margin-bottom: 17px;

.head-bg-content p {
    color: #a1a4af;
    margin-bottom: 25px;

.head-bg-content .btn i {
    font-size: 14px;
    line-height: 12px;
    font-weight: 700;

.btn .fa {
    margin-right: 10px;

Similar snippets

Bootstrap snippet Particles js banner

Particles js banner


Bootstrap snippet Chat box

Chat box


Bootstrap snippet team user resume

team user resume


Bootstrap snippet invoice order receipt

invoice order receipt


Bootstrap snippet Update user profile

Update user profile


Bootstrap snippets. header banner with background

About this bootstrap snippet

This bootstrap snippet, header banner with background, was published on Oct 15th 2016, 00:10 by Dey Dey 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 snippet currectly have 443 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.6

This snippet is based on bootstrap 3.3.6 and the grid system of this framework


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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working