Bootstrap framework snippet header banner with background

This bootstrap framework snippet "header banner with background" was designed to help people of all skill levels - designer or developer,
huge nerd or early beginner. copy and paste the code. Use it as a complete kit or use it to start something more complex.
tags: banner

<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> </div> </div>
body{margin-top:20px;} .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; }

Creator of this snippet

Dey Dey

Bootstrap version: 3.3.6

Created: Oct 15th 2016, 00:10

Views: 132