Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexbinary/flexable

ultra basic flexbox helper
https://github.com/alexbinary/flexable

Last synced: 1 day ago
JSON representation

ultra basic flexbox helper

Awesome Lists containing this project

README

        

# flexable

Lets you setup simple layouts with [flexbox](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Using_CSS_flexible_boxes) using 3 classes :

- `fa-box` or `fa-box-h` : make an element a horizontal flex container

- `fa-box-v` : make an element a vertical flex container

- `fa-stretch` : make an element occupy maximum space inside a container

## Example

```html

empty

side 1

side 2

bottom

```

Will give something like :

---------------------------------------
| empty | side 1 | side 2 |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
---------------------------------------
| bottom |
---------------------------------------

## License

The MIT License (MIT) - Copyright (c) 2015 Alexandre Bintz
See [LICENSE](LICENSE) file for full text.