We have easy to use classes to help you align your content.
You can easily vertically center things by adding the class valign-wrapper
to the container holding the items you want to vertically align.
This should be vertically aligned
<div class="valign-wrapper" style="height: 200px;"> <h5>This should be vertically aligned</h5></div>
These classes are for horizontally aligning content. We have .left-align
, .right-align
and .center-align
This should be left aligned
This should be right aligned
This should be center aligned
<h5 class="left-align">This should be left aligned</h5><h5 class="right-align">This should be right aligned</h5><h5 class="center-align">This should be center aligned</h5>
Quickly float things by adding the class left
or right
to the element. !important
is used to avoid specificity issues.
<div class="left">...</div><div class="right">...</div>