1.0.0 • Published 3 years ago

flexwizard v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

What Is This?

This is flexBox solution for non developers.

Installation

npm i --save flexWizard

Basic Usage

import { flexWizard } from 'flexWizard';

flexWizard({
    display: 'flex',
    justify: 'center',
    align: 'center',
    direction: 'column',
});

In your html to the container that you want the flex options to be applied to give a class of flexWizard e.g class="flexWizard"

Options

This module takes in 4 options:

  • display - 'flex'|'none'
  • justify - 'center'|'flex-start'
  • align - 'center'|'flex-start'
  • direction - 'row'|'column'