x-flex

Micro-classes for CSS flex. Tested against two latest major versions of browsers.


Keywords
css, flex, flexbox
License
MIT
Install
bower install x-flex

Documentation

Install

npm install x-flex
bower install x-flex

Browser Support

Fully supported

1 Heads up: In IE10, a .flex-column container requires an explicit height or top/bottom property if it has flexed children.

Partially supported

| IE 10 | IE 11 | FF 28 | FF 29 | Ch 31 | Ch 32 | Sf 6 | Sf 7 --- | --- | --- | --- | --- | --- | --- | --- | --- .inline-flex | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .flex-wrap | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .flex-wrap-reverse | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ .align-content-start | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-content-center | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-content-space-between | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-content-space-around | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-content-stretch | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-self-start | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-self-end | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-self-center | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-self-baseline | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ .align-self-stretch | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✓

Examples

Further reading