Bootstrap snippet and html example. Colored user cards

Bootstrap 3.3.6 snippet "Colored user cards" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: cards,colored,users

HTML code

Clean, semantic HTML that powers this Bootstrap 3.3.6 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootdey">
<div class="row">
    <div class="col-md-4">
        <div class="well well-white mini-profile-widget"> 
            <div class="image-container">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" class="avatar img-responsive" alt="avatar">
            </div>   
            <div class="details">
                <h4>John Doe</h4>
                <hr> 
                <div>Works at Bootdey.com</div>
                <div>Attended University of Bootdey.com</div>
                <div>Lives in Miami, Florida</div>
                <div class="mg-top-10">32 Followers | 120 Following | 18 Posts</div>
                <p class="mg-top-20"> 
                    <a href="javascript:void(0);" class="btn btn-blue">
                        <i class="fa fa-facebook fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-info">
                        <i class="fa fa-twitter fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-red">
                        <i class="fa fa-google-plus fa-fw"></i>
                    </a>
                </p>
            </div> 
        </div>
    </div>

    <div class="col-md-4">
        <div class="well well-light-orange mini-profile-widget"> 
            <div class="image-container">
                <img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="avatar img-responsive" alt="avatar">
            </div>   
            <div class="details">
                <h4>John Doe</h4>
                <hr> 
                <div>Works at Bootdey.com</div>
                <div>Attended University of Bootdey.com</div>
                <div>Lives in Miami, Florida</div>
                <div class="mg-top-10">32 Followers | 120 Following | 18 Posts</div>
                <p class="mg-top-20"> 
                    <a href="javascript:void(0);" class="btn btn-blue">
                        <i class="fa fa-facebook fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-info">
                        <i class="fa fa-twitter fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-red">
                        <i class="fa fa-google-plus fa-fw"></i>
                    </a>
                </p>
            </div> 
        </div>
    </div>
    
    
    <div class="col-md-4">
        <div class="well well-light-pink mini-profile-widget"> 
            <div class="image-container">
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="avatar img-responsive" alt="avatar">
            </div>   
            <div class="details">
                <h4>John Doe</h4>
                <hr> 
                <div>Works at Bootdey.com</div>
                <div>Attended University of Bootdey.com</div>
                <div>Lives in Miami, Florida</div>
                <div class="mg-top-10">32 Followers | 120 Following | 18 Posts</div>
                <p class="mg-top-20"> 
                    <a href="javascript:void(0);" class="btn btn-blue">
                        <i class="fa fa-facebook fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-info">
                        <i class="fa fa-twitter fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-red">
                        <i class="fa fa-google-plus fa-fw"></i>
                    </a>
                </p>
            </div> 
        </div>
    </div>
    
    
    <div class="col-md-4">
        <div class="well well-light-green mini-profile-widget"> 
            <div class="image-container">
                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" class="avatar img-responsive" alt="avatar">
            </div>   
            <div class="details">
                <h4>John Doe</h4>
                <hr> 
                <div>Works at Bootdey.com</div>
                <div>Attended University of Bootdey.com</div>
                <div>Lives in Miami, Florida</div>
                <div class="mg-top-10">32 Followers | 120 Following | 18 Posts</div>
                <p class="mg-top-20"> 
                    <a href="javascript:void(0);" class="btn btn-blue">
                        <i class="fa fa-facebook fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-info">
                        <i class="fa fa-twitter fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-red">
                        <i class="fa fa-google-plus fa-fw"></i>
                    </a>
                </p>
            </div> 
        </div>
    </div>    
    
    <div class="col-md-4">
        <div class="well well-light-blue mini-profile-widget"> 
            <div class="image-container">
                <img src="https://bootdey.com/img/Content/avatar/avatar4.png" class="avatar img-responsive" alt="avatar">
            </div>   
            <div class="details">
                <h4>John Doe</h4>
                <hr> 
                <div>Works at Bootdey.com</div>
                <div>Attended University of Bootdey.com</div>
                <div>Lives in Miami, Florida</div>
                <div class="mg-top-10">32 Followers | 120 Following | 18 Posts</div>
                <p class="mg-top-20"> 
                    <a href="javascript:void(0);" class="btn btn-blue">
                        <i class="fa fa-facebook fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-info">
                        <i class="fa fa-twitter fa-fw"></i>
                    </a>
                    <a href="javascript:void(0);" class="btn btn-red">
                        <i class="fa fa-google-plus fa-fw"></i>
                    </a>
                </p>
            </div> 
        </div>
    </div>
</div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.3.6 to keep the design, spacing, and responsiveness consistent.

body{margin-top:20px;}


/* Component: Well */
.well {
  overflow: hidden;
  border-radius: 0;
  margin-bottom: 30px;
}
.well .well-heading .controls {
  position: absolute;
  top: 10px;
  right: 30px;
}
.well .well-body {
  margin-top: 20px;
  position: relative;
  z-index: 3;
}
.well .well-image {
  font-size: 90px;
  line-height: 90px;
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 1;
  color: rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -ms-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
.well.well-solid {
  color: white;
}
.well:hover .well-image {
  font-size: 60px;
}
.well-white {
  background-color: white;
  color: #454545;
}
.well-blue {
  background-color: #2980b9;
  color: white;
}
.well-light-blue {
  background-color: #3498db;
  color: white;
}
.well-green {
  background-color: #27ae60;
  color: white;
}
.well-light-green {
  background-color: #2ecc71;
  color: white;
}
.well-orange {
  background-color: #e82c0c;
  color: white;
}
.well-light-orange {
  background-color: #ff530d;
  color: white;
}
.well-red {
  background-color: #d40d12;
  color: white;
}
.well-light-red {
  background-color: #ff1d23;
  color: white;
}
.well-purple {
  background-color: #8e44ad;
  color: white;
}
.well-light-purple {
  background-color: #9b59b6;
  color: white;
}
.well-pink {
  background-color: #fe31ab;
  color: white;
}
.well-light-pink {
  background-color: #fd32c0;
  color: white;
}

.mini-profile-widget .image-container .avatar {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    background: white;
    padding: 4px;
    border: 1px solid #dddddd;
}

.btn-blue {
  background-color: #3498db;
  border-color: #3498db;
  color: white;
}
.btn-blue:hover,
.btn-blue:visited {
  background-color: #2980b9;
  color: white;
}
.btn-green {
  background-color: #2ecc71;
  border-color: #27ae60;
  color: white;
}
.btn-green:hover,
.btn-green:visited {
  background-color: #27ae60;
  color: white;
}
.btn-orange {
  background-color: #ff530d;
  border-color: #e82c0c;
  color: white;
}
.btn-orange:hover,
.btn-orange:visited {
  background-color: #e82c0c;
  color: white;
}
.btn-red {
  background-color: #ff1d23;
  border-color: #d40d12;
  color: white;
}
.btn-red:hover,
.btn-red:visited {
  background-color: #d40d12;
  color: white;
}
.btn-purple {
  background-color: #9b59b6;
  border-color: #8e44ad;
  color: white;
}
.btn-purple:hover,
.btn-purple:visited {
  background-color: #8e44ad;
  color: white;
}
.btn-pink {
  background-color: #fd32c0;
  border-color: #fe31ab;
  color: white;
}
.btn-pink:hover,
.btn-pink:visited {
  background-color: #fe31ab;
  color: white;
}

.mini-profile-widget .details {
    text-align: center;
}

Similar snippets

Bootstrap example and template. light user grid

light user grid

Bootstrap example and template. simple user card

simple user card

Bootstrap example and template. bs4 seller cards

bs4 seller cards

Bootstrap example and template. cards with numbers

cards with numbers

Bootstrap example and template. bs4 card widget

bs4 card widget

Bootstrap example and template. calendar schedule table

calendar schedule table

Bootstrap example and template. chat room

chat room

Bootstrap example and template. Contact list label

Contact list label

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, 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 3.3.6.

Bootstrap example and template. Colored user cards

About this bootstrap example/template

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.3K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 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