A CSS flexbox system
npm install flexpadFlexpad is a set of CSS classes to quickly make any flexbox layout using opinionated naming conventions.
```
- Choose an axis for your container: x or y
- Think of a keypad: 1 2 4
4 5 6
7 8 9
- Pick the number corresponding to the alignment you want for your content
- Assign the class to your container:`html`
All centered
Top left y aligned
Have a look at the demo for all the 348 variations.
#### JavaScript
npm install flexpad --save
Inject CSS:
`js`
import 'flexpad/dist/flexpad.css'
// or, prefixed and minified
import 'flexpad/dist/flexpad.min.css'
Use with inline styles:
`js
import fp from 'flexpad'
const Menu = () => (
#### HTML
Download the CSS file: basic or prefixed and minified.
Use a CDN:
`html
``Yes, thank you.