Material Design Card for Bootstrap

Code Snippets for Material Design Card with Bootstrap

You might have seen, bootstrap 4 has card to display your content in a flexible and extensible container but till I am publishing this code snippets, bootstrap 4 is in beta. In this code snippet, I have designed basic card based on bootstrap 3 and material design. To use the default color by bootstrap, just add the class name of material-card to primary, success, warning etc.
Material Design Card for Bootstrap

CSS


<style type="text/css">
.material-card{
    position: relative;
    overflow: hidden;
    margin: 10px 0 20px 0;
    background-color: #fff;
    color: #3D4051;
    border-radius: 2px;
      box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12);

}

.material-card .card-body{
  padding: 20px;
    border-radius: 0 0 2px 2px;
}
.material-card .card-body h1{
  margin: 0;
  padding: 0;
  font-size: 22px;
  line-height: 40px;
}
.material-card .card-body p{
  font-size: 14px;
  line-height: 24px;
  color: #666;
}
.material-card .card-bottom{
      border-top: 1px solid rgba(0,0,0,0.05);
    padding: 20px;
}
.material-card .card-bottom a{
  margin-right: 20px;
  text-transform: uppercase;
}

/*---------Primary---------*/
.material-card.primary{
  background: #337ab7;
  color: #fff;
}
.material-card.primary p{
  color: rgba(255, 255, 255, 0.8);
}
.material-card.primary .card-bottom a{
  color: rgba(255, 255, 255, 0.9);
}

/*--------------danger-------*/
.material-card.danger{
  background: #c9302c;
  color: #fff;
}
.material-card.danger p{
  color: rgba(255, 255, 255, 0.8);
}
.material-card.danger .card-bottom a{
  color: rgba(255, 255, 255, 0.9);
}

/*--------------warning-------*/
.material-card.warning{
  background: #f0ad4e;
  color: #fff;
}
.material-card.warning p{
  color: rgba(255, 255, 255, 0.8);
}
.material-card.warning .card-bottom a{
  color: rgba(255, 255, 255, 0.9);
}

/*--------------success-------*/
.material-card.success{
  background: #5cb85c;
  color: #fff;
}
.material-card.success p{
  color: rgba(255, 255, 255, 0.8);
}
.material-card.success .card-bottom a{
  color: rgba(255, 255, 255, 0.9);
}

/*--------------info-------*/
.material-card.info{
  background: #5bc0de;
  color: #fff;
}
.material-card.info p{
  color: rgba(255, 255, 255, 0.8);
}
.material-card.info .card-bottom a{
  color: rgba(255, 255, 255, 0.9);
}
</style>

HTML


<div class="container-fluid home-3-about">
<div class="row">
<div class="col-sm-4">
<div class="material-card">
  <div class="card-body">
    <h1>Material Cards</h1>
  <p>A list of Material design cards for web in CSS and HTML. cards is a simple HTML template built with Material Design Bootstrap. With Material Design.</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

<div class="col-sm-4">
<div class="material-card primary">
  <div class="card-body">
    <h1>Google Material Design</h1>
  <p>Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework to bring uniformity</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

<div class="col-sm-4">
<div class="material-card danger">
  <div class="card-body">
    <h1>UI Frameworks</h1>
  <p>Included components are basic ones such as grids, forms, buttons, navbar and cards. Similar to Paper, Bootstrap Material is another theme for Bootstrap.</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

<div class="col-sm-4">
<div class="material-card warning">
  <div class="card-body">
    <h1>Material Design Web</h1>
  <p>Materialize is a modern responsive CSS framework based on Material Design by Google. bootstrap material design rails. bootstrap material design css .bootstrap.</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

<div class="col-sm-4">
<div class="material-card success">
  <div class="card-body">
    <h1>Material Design Bootstrap</h1>
  <p>bootstrap material design checkbox. bootstrap material design template. material design card for bootstrap. bootstrap material design cdn. bootstrap material design example</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

<div class="col-sm-4">
<div class="material-card info">
  <div class="card-body">
    <h1>Bootstrap Material Design</h1>
  <p>Code Snippet Material Cards using HTML CSS Bootstrap. 10 Material Design cards for web in CSS & HTML. Material Design for Bootstrap. Bootstrap Material Design.</p>
  </div>
  <div class="card-bottom">
    <a href="">More</a>
    <a href="">Buy</a>
  </div>
</div>
</div>

</div>
</div>

Material Cards

A list of Material design cards for web in CSS and HTML. cards is a simple HTML template built with Material Design Bootstrap. With Material Design.

Google Material Design

Material Design for Bootstrap is a theme for Bootstrap 3 which lets you use the new Google Material Design in your favorite front-end framework to bring uniformity

UI Frameworks

Included components are basic ones such as grids, forms, buttons, navbar and cards. Similar to Paper, Bootstrap Material is another theme for Bootstrap.

Material Design Web

Materialize is a modern responsive CSS framework based on Material Design by Google. bootstrap material design rails. bootstrap material design css .bootstrap.

Material Design Bootstrap

bootstrap material design checkbox. bootstrap material design template. material design card for bootstrap. bootstrap material design cdn. bootstrap material design example

Bootstrap Material Design

Code Snippet Material Cards using HTML CSS Bootstrap. 10 Material Design cards for web in CSS & HTML. Material Design for Bootstrap. Bootstrap Material Design.

Newer Posts
Older Posts
Begin typing your search above and press return to search.