Answers for "align ionic icons and text css"

CSS
0

align ionic icons and text css

.icon {
 display: inline-block;
 font-size: 35px;
 color: #ffC977;
 vertical-align: middle;
}

.text{
  display: inline-block;
  vertical-align: middle;
}
Posted by: Guest on May-08-2020
0

align ionic icons and text css

<ion-item>
  <ion-icon class="icon ion-ios-clock-outline"></ion-icon> 
  <span class="text">Recent</span>
</ion-item>
Posted by: Guest on May-08-2020

Browse Popular Code Answers by Language