css - Bootstrap Card Header: pull-right -
how should small text right aligned in bootstrap 4, card header?
html
<div class="container"> <div class="row"> <div class="col"> <div class="card"> <!--card header--> <h4 class="card-header">header <small class="pull-right">right aligned</small></h4> <!--card body--> <div class="card-body"> </div> </div> </div> </div>
this have tried:
https://jsfiddle.net/ll0qnnxm/60/
use float-{sm,md,lg,xl}-right
instead of pull-right
because changed in bootstrap 4. more info please read https://v4-alpha.getbootstrap.com/migration/
and solution please check updated fiddle
Comments
Post a Comment