"Information Cards"
Bootstrap 4.1.1 Snippet by mylastof

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row w-100 my-5"> <div class="col-sm-6 col-md-3 mb-5"> <div class="card border-info mx-sm-1 p-3"> <div class="bg-info shadow-sm text-light p-3 my-card rounded-circle d-flex justify-content-center align-items-center position-absolute"><i class="fa fa-car"></i></div> <div class="text-info text-center mt-3"><h4>Cars</h4></div> <div class="text-info text-center mt-2"><h1>234</h1></div> </div> </div> <div class="col-sm-6 col-md-3 mb-5"> <div class="card border-success mx-sm-1 p-3"> <div class="bg-success shadow-sm text-light p-3 my-card rounded-circle d-flex justify-content-center align-items-center position-absolute"><span class="fa fa-eye" aria-hidden="true"></span></div> <div class="text-success text-center mt-3"><h4>Eyes</h4></div> <div class="text-success text-center mt-2"><h1>9332</h1></div> </div> </div> <div class="col-sm-6 col-md-3 mb-5"> <div class="card border-danger mx-sm-1 p-3"> <div class="text-light shadow-sm bg-danger p-3 my-card rounded-circle d-flex justify-content-center align-items-center position-absolute" ><span class="fa fa-heart" aria-hidden="true"></span></div> <div class="text-danger text-center mt-3"><h4>Hearts</h4></div> <div class="text-danger text-center mt-2"><h1>346</h1></div> </div> </div> <div class="col-sm-6 col-md-3 mb-5"> <div class="card border-warning mx-sm-1 p-3"> <div class="text-light shadow-sm bg-warning p-3 my-card rounded-circle d-flex justify-content-center align-items-center position-absolute" ><span class="fa fa-inbox" aria-hidden="true"></span></div> <div class="text-warning text-center mt-3"><h4>Inbox</h4></div> <div class="text-warning text-center mt-2"><h1>346</h1></div> </div> </div> </div> </div>
@import url("https://use.fontawesome.com/releases/v5.8.2/css/all.css"); body { background: #ddd; } .my-card { left: calc((100% - 50px)/2); top: -25px; width: 50px; height: 50px; }

Related: See More


Questions / Comments: