<div class="holder">
  <a href="#" class="btn">
    <i class="fa fa-archive"></i>
  </a>
  <a href="#" class="btn">
    <i class="fa fa-calendar"></i>
  </a>
  <a href="#" class="btn">
    <i class="fa fa-bell"></i>
  </a>
  <a href="#" class="btn">
    <i class="fa fa-envelope"></i>
  </a>
</div>

<div class="holder">
  <a href="#" class="btn">
    <i class="fa fa-archive"></i>
    <span class="btn__badge">4</span>    
  </a>
  <a href="#" class="btn">
    <i class="fa fa-calendar"></i>
    <span class="btn__badge btn__badge--blue">22</span>    
  </a>
  <a href="#" class="btn">
    <i class="fa fa-bell"></i>
    <span class="btn__badge btn__badge--green">5</span>    
  </a>
  <a href="#" class="btn">
    <i class="fa fa-envelope"></i>
    <span class="btn__badge btn__badge--purple">6</span>    
  </a>
</div>
body {
  background: #faea6e;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  padding-top: 40px;
}

.holder {
  padding: 20px 0;
  border-radius: 4px;
  text-align: center;
}

.btn {
  background: white;
  text-decoration: none;
  padding: 20px;
  margin: 10px;
  position: relative;
  vertical-align: middle;
  text-align: center;
  display: inline-block;
  border-radius: 5px;
  transition: box-shadow 0.4s;
}

.btn:hover {
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.btn__badge {
  background: #FF5D5D;
  color: white;
  font-size: 12px;
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 8px;
  border-radius: 15px;
}

.btn__badge--blue {
  background: #33B6E6;
}

.btn__badge--green {
  background: #6fd162;
}

.btn__badge--purple {
  background: #b262d1;
}

.fa {
  color: #8E8E8E;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.