"vertically centered content having image icon in left"
Bootstrap 3.0.0 Snippet by p1p4p3

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <a href="#"> <div class="col-md-4"> <div class="specialities"> <img src="https://thumb.ibb.co/g02L9a/icon_11.png" alt=""> <h2 style="">General Surgery</h2> </div> </div> </a> <a href="#"> <div class="col-md-4"> <div class="specialities"> <img src="https://thumb.ibb.co/g02L9a/icon_11.png" alt=""> <h2 style="">General Surgery</h2> </div> </div> </a> <a href="#"> <div class="col-md-4"> <div class="specialities"> <img src="https://thumb.ibb.co/g02L9a/icon_11.png" alt=""> <h2 style="">General Surgery</h2> </div> </div> </a> <a href="#"> <div class="col-md-4"> <div class="specialities"> <img src="https://thumb.ibb.co/g02L9a/icon_11.png" alt=""> <h2 style="">General Surgery</h2> </div> </div> </a> </div> </div>
.specialities {margin: 10px auto;} .specialities img{width: 120px;} .specialities h2{ font-family: 'opensans-bold'; font-size: 25px; padding-left:10px; padding-top: 0; margin-top:0px; } .specialities{display:flex;align-items:center;}

Related: See More


Questions / Comments: