Feature block to highlight features of your product, web application or mobile application or any SaaS (Software-as-a-Service) application.

Dependencies

  • Bootstrap 4
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>FWR Bootstrap Blocks - Feature 2</title>

    <!-- Styles -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
    
    <!-- Custom style -->
    <link rel="stylesheet" href="style.css">
    
</head>
<body>

    <div class="feature-2 bg-light-primary py-4 py-md-5">
        <div class="container py-md-4 py-xl-5">

            <div class="row">
                <div class="feature-intro text-center col-md-10 col-xl-8 mx-md-auto pb-md-3">
                    <h1 class="feature-intro-title mb-3 mb-md-4">Create your awesome website</h1>
                    <p>We have crafted FWR Blocks with an aim to provide designers, developers and agencies a perfect tool for creating their websites quickly and easily.</p>
                </div>
            </div>

            <div class="row mt-5">
                <div class="col-md-4 d-flex">
                    <div class="card feature-card border-0 flex-fill mx-auto">
                        <img src="//assets.free-website-resources.com/img/feature-1.jpg" alt="feature image" class="card-img-top">
                        <div class="card-body text-center p-4 py-md-5 px-xl-5">
                            <h5 class="feature-title mb-3">Crafted with perfection</h5>
                            <p class="mb-0">FWR blocks are carefully created with perfection at its core.</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 d-flex mt-4 mt-md-0">
                    <div class="card feature-card border-0 flex-fill mx-auto">
                        <img src="//assets.free-website-resources.com/img/feature-2.jpg" alt="feature image" class="card-img-top">
                        <div class="card-body text-center p-4 py-md-5 px-xl-5">
                            <h5 class="feature-title mb-3">Beauty in Design</h5>
                            <p class="mb-0">FWR blocks are well-designed. Your website will always look fresh and awesome.</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 d-flex mt-4 mt-md-0">
                    <div class="card feature-card border-0 flex-fill mx-auto">
                        <img src="//assets.free-website-resources.com/img/feature-3.jpg" alt="feature image" class="card-img-top">
                        <div class="card-body text-center p-4 py-md-5 px-xl-5">
                            <h5 class="feature-title mb-3">Plug and Play</h5>
                            <p class="mb-0">FWR blocks are carefully created with perfection at its core.</p>
                        </div>
                    </div>
                </div>
            </div>

            <div class="feature-action text-center mt-4 mt-md-5 pt-xl-3">
                <button class="btn btn-primary btn-lg px-4 px-md-5">Get started</button>
            </div>

        </div>
    </div>
    <!-- /.feature-2 -->

    <!-- Scripts -->
    <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
</body>
</html>
// Bootstrap variables and mixins
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/mixins";

// Variables
$primary:             #5863f8;
$feature-card-radius: 1rem;

// Custom CSS
.bg-light-primary {
  background-color: rgba($primary, .1);
}

.feature-card {
  box-shadow: $box-shadow-sm;
  border-radius: $feature-card-radius;
  overflow: hidden;
  max-width: 400px;
  transition: box-shadow .3s;

  @include hover(){
    box-shadow: $box-shadow;
  }
}

.feature-intro-title {
  font-size: 1.75rem;
}

.feature-title {
  color: $primary;
}

.btn-primary {
  @include button-variant($primary, $primary);
}


@include media-breakpoint-up(md) {

  .feature-intro-title {
    font-size: 2.5rem;
  }

}
.bg-light-primary {
  background-color: rgba(88, 99, 248, 0.1);
}

.feature-card {
  -webkit-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
          box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 1rem;
  overflow: hidden;
  max-width: 400px;
  -webkit-transition: -webkit-box-shadow .3s;
  transition: -webkit-box-shadow .3s;
  transition: box-shadow .3s;
  transition: box-shadow .3s, -webkit-box-shadow .3s;
}

.feature-card:hover {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.feature-intro-title {
  font-size: 1.75rem;
}

.feature-title {
  color: #5863f8;
}

.btn-primary {
  color: #fff;
  background-color: #5863f8;
  border-color: #5863f8;
}

.btn-primary:hover {
  color: #fff;
  background-color: #3341f6;
  border-color: #2735f6;
}

.btn-primary:focus, .btn-primary.focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(88, 99, 248, 0.5);
          box-shadow: 0 0 0 0.2rem rgba(88, 99, 248, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #5863f8;
  border-color: #5863f8;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #2735f6;
  border-color: #1b2af5;
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(88, 99, 248, 0.5);
          box-shadow: 0 0 0 0.2rem rgba(88, 99, 248, 0.5);
}

@media (min-width: 768px) {
  .feature-intro-title {
    font-size: 2.5rem;
  }
}

Similar Blocks

aHR0cHM6Ly9mcmVlLXdlYnNpdGUtcmVzb3VyY2VzLmNvbS9ibG9ja3MvYm9vdHN0cmFwL2ZlYXR1cmUvZmVhdHVyZS0y