basscss-align
v1.0.2
Published
Vertical align utilities module for Basscss
Downloads
16,501
Readme
Adjust vertical alignment with these utilities.
To adjust the alignment of an element, use .align-baseline
, .align-top
, .align-middle
or .align-bottom
.
The vertical-align property only applies to inline or table-cell boxes.
<div class="overflow-auto">
<div class="table">
<div class="table-cell"><h1>Hamburger</h1></div>
<div class="table-cell align-baseline">.align-baseline</div>
<div class="table-cell align-top">.align-top</div>
<div class="table-cell align-middle">.align-middle</div>
<div class="table-cell align-bottom">.align-bottom</div>
</div>
</div>