Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/curiositry/flexbox_functions
- Owner: curiositry
- License: mit
- Created: 2013-07-29T20:48:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-06-24T19:10:38.000Z (over 7 years ago)
- Last Synced: 2024-04-20T00:44:26.764Z (7 months ago)
- Language: PHP
- Homepage: http://curiositry.com/flexbox_functions/
- Size: 479 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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