JSFiddle - React, Tailwind, and code Playground

by Keith Jeter

HTML

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="bc_full_wrap">
<div class="bc_ani_wrap">
<span class="center_number">5</span>
<div class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></div>
</div>
<div class="cent_txt">MILES</div>
</div>

<div class="bc_full_wrap">
<div class="bc_ani_wrap">
<span class="center_number">89</span>
<div class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></div>
</div>
<div class="cent_txt">MILES</div>
</div>

<div class="bc_full_wrap">
<div class="bc_ani_wrap">
<span class="center_number">999</span>
<div class="fa fa-circle-o-notch fa-spin fa-3x fa-fw"></div>
</div>
<div class="cent_txt">MILES</div>
</div>

CSS

.bc_full_wrap {
  position: relative;
  display: block;
  float: left;
  margin: 10px;
  overflow: hidden;
  width: 60px;
  height: 80px;
}

.bc_ani_wrap {
  position: relative;
  display: block;
  overflow: hidden;
  width: 62px;
  height: 60px;
}

.bc_ani_wrap .fa {
  color: #0144af;
  margin-top: 5px;
}

.center_number {
  color: #0144af;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
}

.cent_txt {
  color: #0144af;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

@-webkit-keyframes spinn {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}