Bootstrap Card Examples: Responsive Design Inspiration

Bootstrap, a popular front-end framework, simplifies responsive web design with its powerful grid system and pre-built components. Among these components, Bootstrap cards are versatile and widely-used, offering a flexible way to display content. Let's explore various Bootstrap card examples to inspire your web design.

Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5

Cards are a fundamental part of Bootstrap's design system, providing a flexible and extensible content container. They can be used for displaying different types of content, such as text, images, videos, or even complex components like navigation or tabs.

10+ Bootstrap Cards (latest collection)
10+ Bootstrap Cards (latest collection)

Basic Bootstrap Card Examples

Let's start with the basics. A simple Bootstrap card consists of a header, body, and footer. Here's a basic example:

Bootstrap card design with hover effect
Bootstrap card design with hover effect

<div class="card"> <div class="card-header">Header</div> <div class="card-body">Body</div> <div class="card-footer">Footer</div> </div>

Card with Text and Image

Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5

Cards can display text and images side by side using the card's built-in flexbox layout. Here's an example:

<div class="card"> <div class="row no-gutters"> <div class="col-md-4"> <img src="..." class="card-img" alt="..."> </div> <div class="col-md-8"> <div class="card-body"> <h5 class="card-title">Card title</h5> <p class="card-text">This is some text within a card body.</p> <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p> </div> </div> </div> </div>

Card with List Group

Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5

Cards can also contain a list group for displaying a list of items. Here's an example:

<div class="card"> <ul class="list-group list-group-flush"> <li class="list-group-item">An item</li> <li class="list-group-item">A second item</li> <li class="list-group-item">A third item</li> </ul> </div>

Advanced Bootstrap Card Examples

Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5

Bootstrap cards can be combined with other components to create more complex layouts. Let's explore some advanced examples.

Cards can be used with Bootstrap's tab component to create a tabbed card. Here's an example:

Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
Bootstrap Tutorial | Bootstrap Notes | Bootstrap 5
an image of a web page with many different types of buttons and numbers on it
an image of a web page with many different types of buttons and numbers on it
Bootstrap Photo Gallery
Bootstrap Photo Gallery
Profile cards with hover effect
Profile cards with hover effect
CSS Card Design
CSS Card Design
Halaman Tidak Ditemukan - 404
Halaman Tidak Ditemukan - 404
three different types of men's heads with the words suesh dash and suresh dash
three different types of men's heads with the words suesh dash and suresh dash
CSS 3D cards
CSS 3D cards
Bootstrap 4 card deck responsive
Bootstrap 4 card deck responsive
Halaman Tidak Ditemukan - 404
Halaman Tidak Ditemukan - 404
the front and back side of a mobile phone with instructions on how to use it
the front and back side of a mobile phone with instructions on how to use it

<div class="card"> <div class="card-header"> <ul class="nav nav-tabs card-header-tabs"> <li class="nav-item"> <a class="nav-link active" href="#tab1" data-toggle="tab">Tab 1</a> </li> <li class="nav-item"> <a class="nav-link" href="#tab2" data-toggle="tab">Tab 2</a> </li> </ul> </div> <div class="card-body"> <div class="tab-content"> <div class="tab-pane active" id="tab1">Content 1</div> <div class="tab-pane" id="tab2">Content 2</div> </div> </div> </div>

Card with Collapse

Cards can be combined with Bootstrap's collapse component to create a collapsible card. Here's an example:

<div class="card"> <div class="card-header"> <h5 class="mb-0"> <button class="btn btn-link" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="true" aria-controls="collapseExample"> Collapsible group item </button> </h5> </div> <div id="collapseExample" class="collapse show" aria-labelledby="headingExample"> <div class="card-body"> This is some text within a collapsed card body. </div> </div> </div>

In conclusion, Bootstrap cards offer a wide range of possibilities for displaying content in a flexible and responsive way. From simple text and image combinations to complex layouts with tabs and collapsible sections, cards are a powerful tool in any web designer's toolbox. So go ahead, experiment with these examples, and create something unique and engaging for your users.