HTML
<section class="demo-section-cards">
<div class="container">
<div class="row row-cols-1 row-cols-sm-2 row-cols-md-3 g-3 justify-content-center">
<div class="col">
<div class="demo-shadow-container">
<div class="card h-100 demo-card-bg-01">
<div class="card-body">
<h1>#1. I'll call you back</h1>
<h2>This is one of the most frequently broken promises. Many people forget or don't make the time to return a call.</h2>
</div>
</div>
</div>
</div>
<div class="col">
<div class="demo-shadow-container">
<div class="card h-100 demo-card-bg-02">
<div class="card-body">
<h1>#2. I'll never lie to you</h1>
<h2>While this promise is often made sincerely, everyone tells white lies or withholds the full truth at times.</h2>
</div>
</div>
</div>
</div>
<div class="col">
<div class="demo-shadow-container">
<div class="card h-100 demo-card-bg-03">
<div class="card-body">
<h1>#3. I'll change</h1>
<h2>Whether in relationships or personal habits, people often promise to change but struggle to make lasting changes.</h2>
</div>
</div>
</div>
</div>
<div class="col">
<div class="demo-shadow-container">
<div class="card h-100 demo-card-bg-04">
<div class="card-body">
<h1>#4. We should hang out sometime</h1>
<h2>This is often said in passing, with no real intention of following through.</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
CSS
@import url('https://fonts.googleapis.com/css2?family=Just+Another+Hand&display=swap');
.demo-section-cards {
position: relative;
z-index: 99;
padding: 2rem 0;
font-family: "Just Another Hand", cursive;
font-weight: 400;
font-style: normal;
color: rgba(0, 0, 0, 0.6);
}
.demo-section-cards .card {
border-radius: 0;
margin-bottom: 2.5rem;
border: none;
}
.demo-section-cards .card-body {
padding: 1rem;
}
.demo-section-cards .card-body h1, .demo-section-cards .card-body h2 {
font-size: 1.6rem;
font-weight: normal;
border-bottom: none;
}
.demo-section-cards .card-body h1 {
margin: 0 0 1em 0;
}
.demo-section-cards .card-body h2 {
margin: 0 0 2rem 0;
}
.demo-section-cards .demo-shadow-container {
position: relative;
background: #fff;
height: 100%;
}
.demo-section-cards .demo-shadow-container:before {
z-index: -1;
position: absolute;
content: "";
bottom: 15px;
left: 10px;
width: 50%;
top: 80%;
max-width: 300px;
background: #777;
box-shadow: 0 15px 10px #777;
transform: rotate(-3deg);
}
/* card bg colors */
.demo-section-cards .demo-card-bg-01 {
background: #FCB97D;
}
.demo-section-cards .demo-card-bg-02 {
background: #EDD892;
}
.demo-section-cards .demo-card-bg-03 {
background: #C6B89E;
}
.demo-section-cards .demo-card-bg-04 {
background: #B5B8A3;
}
Basic Page
Button alignment
Button styles
Button with icon Only
Button with text and icon on the left
Button with text and icon on the right
Content pagination
Include CSS and JS Files
Modal window
Popover
Popover with HTML content
Progress bars
Progress bars with tooltip
Popover with HTML content and a close button
Responsive cards
Responsive cards styled like business cards
Responsive cards styled like post-it notes
Responsive columns
Table
Table pagination with keyboard keys
Tabs
Tooltip
Tooltip with HTML content