colored users cards

Bootstrap snippet. colored users cards, this snippet was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code.
tags: html,css,cards

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippet">
    <div class="row">
        <div class="col-md-5">
            <div class="widget-head-color-box lazur-bg p-lg text-center">
                <div class="m-b-md">
                <h2 class="font-bold no-margins">
                    Alex Smith
                </h2>
                    <small>Founder of Mysite</small>
                </div>
                <img src="https://bootdey.com/img/Content/user_1.jpg" class="img-circle circle-border m-b-md" alt="profile">
                <div>
                    <span>100 Tweets</span> |
                    <span>350 Following</span> |
                    <span>610 Followers</span>
                </div>
            </div>
            <div class="widget-text-box">
                <h4 class="media-heading">Alex Smith</h4>
                <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
                <div class="text-right">
                    <a class="btn btn-xs btn-default"><i class="fa fa-thumbs-up"></i> Like </a>
                    <a class="btn btn-xs btn-primary"><i class="fa fa-heart"></i> Love</a>
                    <a class="btn btn-xs btn-success"><i class="fa fa fa-envelope"></i> Message</a>
                    <a class="btn btn-xs btn-info"><i class="fa fa fa-phone"></i> Call</a>
                </div>
            </div>
        </div>
        <div class="col-md-5">
            <div class="widget-head-color-box red-bg p-lg text-center">
                <div class="m-b-md">
                <h2 class="font-bold no-margins">
                    Barbao Smith
                </h2>
                    <small>Founder of something</small>
                </div>
                <img src="https://bootdey.com/img/Content/user_3.jpg" class="img-circle circle-border m-b-md" alt="profile">
                <div>
                    <span>100 Tweets</span> |
                    <span>350 Following</span> |
                    <span>610 Followers</span>
                </div>
            </div>
            <div class="widget-text-box">
                <h4 class="media-heading">Barbao Smith</h4>
                <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
                <div class="text-right">
                    <a class="btn btn-xs btn-default"><i class="fa fa-thumbs-up"></i> Like </a>
                    <a class="btn btn-xs btn-primary"><i class="fa fa-heart"></i> Love</a>
                    <a class="btn btn-xs btn-success"><i class="fa fa fa-envelope"></i> Message</a>
                    <a class="btn btn-xs btn-info"><i class="fa fa fa-phone"></i> Call</a>
                </div>
            </div>
        </div>
	</div>
</div>

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{margin-top:20px;}

.p-lg {
  padding: 30px;
}

.lazur-bg {
  background-color: #23c6c8;
  color: #ffffff;
}

.red-bg {
  background-color: #ed5565;
  color: #ffffff;
}

.navy-bg {
  background-color: #1ab394;
  color: #ffffff;
}

.yellow-bg {
  background-color: #f8ac59;
  color: #ffffff;
}

.widget-head-color-box {
  border-radius: 5px 5px 0px 0px;
  margin-top: 10px;
}

.m-b-md {
  margin-bottom: 20px;
}

.no-margins {
  margin: 0 !important;
}

.font-bold {
  font-weight: 600;
}

img.circle-border {
  border: 6px solid #FFFFFF;
  border-radius: 50%;
}

.widget-text-box {
  padding: 20px;
  border: 1px solid #e7eaec;
  background: #ffffff;
}

.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}
                                    

Similar snippets

Bootstrap snippet bs4 ecommerce products

bs4 ecommerce products

View

Bootstrap snippet bs4 Contacts cards

bs4 Contacts cards

View

Bootstrap snippet bs4 contact cards

bs4 contact cards

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.3.4

Created: Jun 28th 2015, 19:33

Views: 3.5K

Rated 5/5 based on 2 reviews