No more unnecessary container, negative margin-padding and extra divs to make gap between rows and columns.
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.
You can find everything fully documented at the Official Website.
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.
Use your favorite package manager to install AyoFlex
$ npm install ayoflex
or
$ npm i ayoflex
$ yarn add ayoflex
To import ayoflex in your project use the following code in your js file:
import 'ayoflex';
import 'ayoflex/dist/ayoflex.min.css';
Also you can easily import style to your existing CSS/SCSS/SASS file:
@import "ayoflex/dist/ayoflex.min.css";
@import "ayoflex/src/ayoflex";
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"
/>
Code and documentation copyright 2022 Ayoton. Code released under the MIT License. Docs released under Creative Commons.