@iigethr/zaha_alignments
v0.0.4
Published
Align a given element.
Downloads
2
Readme
Zaha Alignments
Horizontally or Vertically center align a given element.
Installation
NPM
npm i zaha_alignments
Yarn
yarn add zaha_alignments
Usage
Declare the element using the css class ".center-h" for horizontal alignment or ".center-v" for vertical.
ZahaAlignments.centerH();
ZahaAlignments.centerV();
License
The gem is available as open source under the terms of the MIT License.