Bootstrap snippet and html example. Bootstrap Hero Area

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.

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 5.1.3 included, to get the result that you can see in the preview selection

<header>
        <!--====== Style css ======-->
    <link rel="stylesheet" href="https://cdn.ayroui.com/1.0/css/starter.css" />
</header>

<!--====== HEADER ONE PART START ======-->
<section class="header-area header-one">
   <div class="header-content-area">
      <div class="container">
         <div class="row align-items-center">
            <div class="col-lg-6 col-12">
               <div class="header-wrapper">
                  <div class="header-content">
                     <h1 class="header-title">
                        Unlimited Friendly & Easy Customisable
                     </h1>
                     <p class="text-lg">
                        Stop wasting time and money designing and managing a website
                        that doesn’t get results. Happiness guaranteed!
                     </p>
                     <div class="header-btn rounded-buttons">
                        <a
                           class="btn primary-btn-outline btn-lg"
                           href="javascript:void(0)"
                           >
                        DOWNLOAD NOW
                        </a>
                     </div>
                  </div>
                  <!-- header content -->
               </div>
            </div>
            <div class="col-lg-6 col-12">
               <div class="header-image d-none d-lg-block">
                  <div class="image">
                     <img
                        src="https://cdn.ayroui.com/1.0/images/header/header-1.svg"
                        alt="Header"
                        />
                  </div>
               </div>
            </div>
         </div>
         <!-- row -->
      </div>
      <!-- container -->
      <div class="header-shape">
         <img src="https://cdn.ayroui.com/1.0/images/header/header-shape.svg" alt="shape" />
      </div>
      <!-- header-shape -->
   </div>
   <!-- header content area -->
</section>
<!--====== HEADER ONE PART ENDS ======-->

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 5.1.3 included, to get the result that you can see in the preview selection

/* ===== Buttons Css ===== */
.header-one .header-content-area .primary-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.header-one .header-content-area .active.primary-btn-outline, .header-one .header-content-area .primary-btn-outline:hover, .header-one .header-content-area .primary-btn-outline:focus {
  background: var(--primary-dark);
  color: var(--white);
}
.header-one .header-content-area .deactive.primary-btn-outline {
  color: var(--dark-3);
  border-color: var(--gray-4);
  pointer-events: none;
}

/*===== HEADER ONE =====*/
.header-one {
  position: relative;
}
.header-one .header-content-area {
  background-color: var(--primary);
  position: relative;
  padding: 130px 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .header-one .header-content-area {
    padding: 100px 0;
  }
}
@media (max-width: 767px) {
  .header-one .header-content-area {
    padding: 60px 0;
  }
}
@media only screen and (min-width: 1400px) {
  .header-one .header-content-area {
    height: 900px;
  }
}
@media (max-width: 767px) {
  .header-one .header-content-area {
    height: 550px;
  }
}
.header-one .header-content-area .primary-btn-outline {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--primary);
}
.header-one .header-content-area .primary-btn-outline:hover {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}
.header-one .header-wrapper {
  position: relative;
}
.header-one .header-content {
  max-width: 540px;
  position: relative;
  z-index: 5;
}
.header-one .header-title {
  color: var(--white);
  font-weight: 800;
}
.header-one .text-lg {
  color: var(--white);
  font-weight: 300;
  margin-top: 16px;
}
.header-one .header-btn {
  margin-top: 40px;
}
.header-one .header-image {
  text-align: center;
}
.header-one .header-image .image {
  max-width: 730px;
}
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .header-one .header-image .image {
    max-width: 600px;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .header-one .header-image .image {
    max-width: 550px;
  }
}
.header-one .header-image .image img {
  width: 100%;
}
.header-one .header-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
}
.header-one .header-shape img {
  width: 100%;
}

Similar snippets

Bootstrap example and template. bs4 team list

bs4 team list

Bootstrap example and template. user profile details

user profile details

Bootstrap example and template. User profile rating

User profile rating

Bootstrap example and template. Social Profile widget with photos

Social Profile widget with photos

Bootstrap example and template. Profile history

Profile history

Bootstrap example and template. bs4 facebook cover profile

bs4 facebook cover profile

Bootstrap example and template. profile photos

profile photos

Bootstrap example and template. purple pricing plan

purple pricing plan

Bootstrap example and template. Bootstrap Hero Area

About this bootstrap example/template

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 1.5K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 5.1.3

<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 5.1.3 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