CSS flex helper classes like angular material directives
- Download this repo
- Or use Bower to install:
bower install flex-helpers-like-angular-material - Browse to flex-helpers-like-angular-material and run npm install in command prompt/terminal
- Run grunt to compile sass to css
- You'll see main.css file inside style folder
You are now ready to go. Just include the css file into your project.
Generated class will be almost like angular material.
Examples:
- layout-row
- layout-row-xs
- layout-row-gt-xs
- layout-row-sm
- layout-row-gt-sm
- layout-row-gt-sm-max
- layout-row-md
- layout-row-gt-md
- layout-row-lg
- layout-row-gt-lg
- layout-column
- layout-column-xs
- layout-column-gt-xs
- layout-column-sm
- layout-column-gt-sm
- layout-column-gt-sm-max
- layout-column-md
- layout-column-gt-md
- layout-column-lg
- layout-column-gt-lg
- layout-align-start-start (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg [These are breakpoints])
- layout-align-start-center (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-start-end (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-start-stretch (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-center-start (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-center-center (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-center-end (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-center-stretch (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-end-start (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-end-center (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-end-end (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-end-stretch (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-around-start (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-around-center (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-around-end (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-around-stretch (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-between-start (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-between-center (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-between-end (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- layout-align-space-between-stretch (-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)
- flex
- flex-5 (5, 10, 15, 20 ... 100)
- flex-(-xs, -gt-xs, sm, gt-sm, gt-sm-max, md, gt-md, lg, gt-lg)-(5, 10, 15, 20 ... 100)