HTML code
Clean, semantic HTML that powers this Bootstrap 5.2.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.
Download<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<div class="container">
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="card bg-primary card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-primary mtn-80">
<i class="fa fa-quote-left text-primary" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white"> James Smith <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Mary’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card bg-success card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-success mtn-80">
<i class="fa fa-quote-left text-success" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white"> David Smith <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Susan’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card bg-danger card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-danger mtn-80">
<i class="fa fa-quote-left text-danger" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white">William Smith <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Karen’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card bg-info card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-info mtn-80">
<i class="fa fa-quote-left text-info" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white">Daniel Smith <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Lisa’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card bg-purple card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-purple mtn-80">
<i class="fa fa-quote-left text-purple" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white"> Mike Jones <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Linda’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card bg-pink card-hover mb-9">
<div class="card-body text-center px-md-5 px-lg-6 my-2">
<div class="card-icon-border-large border-pink mtn-80">
<i class="fa fa-quote-left text-pink" aria-hidden="true"></i>
</div>
<blockquote class="blockquote blockquote-sm mt-2">
<p class="font-normal mb-5"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt.</p>
<footer class="blockquote-footer text-uppercase text-white">Nicholas <cite class="d-block text-capitalize font-size-14 opacity-80 mt-1" title="Source Title">Donna’s Father</cite></footer>
</blockquote>
</div>
</div>
</div>
</div>
</div>CSS code
Scoped CSS that styles the component. Paste it after Bootstrap 5.2.0 to keep the design, spacing, and responsiveness consistent.
Downloadbody{margin-top:20px;
padding-top:80px;
}
.card {
box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 0px;
position: relative;
margin-bottom: 1.56rem;
}
.card {
position: relative;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
min-width: 0px;
overflow-wrap: break-word;
background-color: rgb(248, 248, 248);
background-clip: border-box;
border: 0px solid rgba(0, 0, 0, 0.125);
border-radius: 0.57rem;
}
.bg-primary {
background-color: rgb(240, 194, 75) !important;
}
.mb-9 {
margin-bottom: 4.96rem !important;
}
.card-icon-border-large {
width: 100px;
height: 100px;
margin: -3.06rem auto 0px;
text-align: center;
background-color: rgb(255, 255, 255);
border: 6px solid;
border-radius: 50%;
font-size: 1.88rem;
line-height: 90px;
color: rgb(102, 102, 102);
}
.mtn-80 {
margin-top: -5rem !important;
}
.border-primary {
border-color: rgb(240, 194, 75) !important;
}
.text-primary {
color: rgb(240, 194, 75) !important;
}
.bg-success {
background-color: rgb(181, 213, 106) !important;
}
.border-success {
border-color: rgb(181, 213, 106) !important;
}
.text-success {
color: rgb(181, 213, 106) !important;
}
.bg-danger {
background-color: rgb(234, 112, 102) !important;
}
.border-danger {
border-color: rgb(234, 112, 102) !important;
}
.text-danger {
color: rgb(234, 112, 102) !important;
}
.bg-info {
background-color: rgb(132, 190, 214) !important;
}
.border-info {
border-color: rgb(132, 190, 214) !important;
}
.text-info {
color: rgb(132, 190, 214) !important;
}
.bg-purple {
background-color: rgb(165, 151, 231) !important;
}
.border-purple {
border-color: rgb(165, 151, 231) !important;
}
.text-purple {
color: rgb(165, 151, 231) !important;
}
.bg-pink {
background-color: rgb(234, 119, 173) !important;
}
.border-pink {
border-color: rgb(234, 119, 173) !important;
}
.text-pink {
color: rgb(234, 119, 173) !important;
}FAQ
How do I use this snippet?
Include Bootstrap 5.2.0, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.
Can I use it in commercial projects?
Yes. It’s free for personal and commercial work; check the snippets license for details.
Is it responsive?
Yes. It inherits the responsive grid and components from Bootstrap 5.2.0.
About this bootstrap example/template
This free Bootstrap 5.2.0 snippet, colorful testimonial, was published on Jun 26th 2023, 16:37 by Bootdey Admin.
Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.
Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.
Already trusted in 8.5K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.
Bootstrap 5.2.0
<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.2.0 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