Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/curiositry/flexbox_functions

This simple script makes Flexbox development painless while keeping your CSS manageable & easy to maintain.
https://github.com/curiositry/flexbox_functions

Last synced: 3 days ago
JSON representation

This simple script makes Flexbox development painless while keeping your CSS manageable & easy to maintain.

Awesome Lists containing this project

README

        

Flexbox Functions
=================

Flexbox is an awesome tool for responsive frontend development. However, the spec is still in its infancy: the syntax has gone through three major revisions, and to support older browsers, it takes 4+ lines of code to do almost anything anything with flexbox.

For those who's preferred CSS preprocessor is PHP, I have made a simple script that include methods for all the flexbox properties I know. It really eases the pain of working with flexbox.

*NOTE: I have changed the License from GPL3 to MIT. This is a much more open-ended licence, and you can use it in non open source projects now. If you need an even more permissive licence, let me know and it will probably be granted.*

### Installation
``` composer install curiositry\flexbox_functions ```

### Usage

Include via composer at the top of your `style.php`:

``` php