ayoflex
v1.0.4
Published
A mobile first css layout utility library
Downloads
298
Maintainers
Readme
No more unnecessary container, negative margin-padding and extra divs to make gap between rows and columns.
Advanced CSS layout utility library
AyoFlex is a modern open source CSS layout utility library based on flex
layout module with twelve columns grid system to build mobile first responsive web interfaces. Ayoflex includes six default breakpoints known as responsive modifiers. These breakpoints can be customized using our source Sass file.
Documentation
You can find everything fully documented at the Official Website.
Installation
To use AyoFlex on your project, you can use the pre-compiled css file and also can install the scss files so that you can customize it by yourself.
Packages
Use your favorite package manager to install AyoFlex
NPM:
$ npm install ayoflex
or
$ npm i ayoflex
Yarn:
$ yarn add ayoflex
Import ayoflex in your project
To import ayoflex in your project use the following code in your js file:
import 'ayoflex';
or
import 'ayoflex/dist/ayoflex.min.css';
Also you can easily import style to your existing CSS/SCSS/SASS file:
Import css in your stylesheet
@import "ayoflex/dist/ayoflex.min.css";
or
Import scss in your SASS file
@import "ayoflex/src/ayoflex";
CDN
You can also add AyoFlex in your project from CDN:
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/ayoflex.min.css"
/>
If you don't need responsiveness you can install a lite version:
<link
rel="stylesheet"
href="https://unpkg.com/[email protected]/dist/ayoflex-no-responsive.min.css"
/>
Copyright and license
Code and documentation copyright 2022 Ayoton. Code released under the MIT License. Docs released under Creative Commons.