Responsive bootstrap hero banner with horizontal login form

This responsive bootstrap hero banner with horizontal login form on the bottom made for your website, this bootstrap snipp is ready to use into your website, easy code with few lines of css code.

<!doctype html>
<html lang="en">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<!-- Bootstrap CSS -->
<link rel="stylesheet" href="">
<link href="" rel="stylesheet">
<title>Bootstrap hero banner</title>

<style type="text/css">
@import url(';400;500;700&display=swap');
body {
    font-family: 'Roboto', sans-serif;
.btn {
    padding: 14px 26px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
.btn-danger {
    background-color: #e34c43;
    border-color: #e34c43;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(100, 55, 0, 0.8)), url(img/banner-image-two.jpg);
    background-size: cover;
    background-position: center;
::placeholder {
.form-control {
    border-color: #ebebeb;
.form-control-lg {
    height: calc(1.6em + 1rem + 2px);

<div class="banner-image pb-5">
<nav class="navbar navbar-expand-lg navbar-dark py-3">
  <div class="container"> <a class="navbar-brand font-weight-bold text-uppercase" href="#">BRAND NAME</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav ml-auto font-weight-bold">
        <li class="nav-item"> <a class="nav-link" href="#">Home</a> </li>
        <li class="nav-item"> <a class="nav-link" href="#">About</a> </li>
        <li class="nav-item"> <a class="nav-link" href="#">Portfolio</a> </li>
        <li class="nav-item"> <a class="nav-link" href="#">Services</a> </li>
        <li class="nav-item"> <a class="nav-link" href="#">Testimonials</a> </li>
        <li class="nav-item"> <a class="nav-link" href="#">Contact</a> </li>
  <div class="container py-5">
    <div class="row py-5 align-items-center">
      <div class="col-12 text-center">
        <h5 class="display-4 mb-4 font-weight-bold text-white mt-5">A modular UI Kit for Bootstrap</h5>      
        <p class="h5 col-md-10 mx-auto pb-5 mb-5 text-white-50 aa">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nunc nisi, suscipit id dapibus sit amet, lacinia nec lorem. Aenean eget urna rutrumn.</p>       
        <div class="p-4 rounded shadow-lg border border-light" style="background-color:rgba(255,255,255,0.7)">
  <div class="form-row">
    <div class="col-5">
      <input type="text" class="form-control form-control-lg shadow-sm" placeholder="Email">
    <div class="col-5">
      <input type="text" class="form-control form-control-lg shadow-sm" placeholder="Password">
    <div class="col-2">
       <button class="btn btn-danger btn-block shadow-sm" type="submit"><span class="d-md-inline-block d-none mr-2">Submit</span> <i class="lni lni-arrow-right"></i></button>

<!-- Optional JavaScript --> 
<!-- jQuery first, then Popper.js, then Bootstrap JS --> 
 <script src="" ></script>
 <script src="" ></script>
 <script src="" ></script>
Spread the love

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top