flexibility2.0.1 • Public • Published
Flexibility is a polyfill for the Flexible Box Layout, commonly known as Flexbox. With Flexibility, you get to design beautiful, flexible layouts on the web without sacrificing the experience in older browsers.
To start using Flexbox in Internet Explorer 8 & 9 or any older browser, download the flexibility.js script and include it anywhere on your page.
If you’re only targeting Internet Explorer 10 and lower, add a
-js-display: flex declaration before any
display: flex declarations in your
CSS, or use PostCSS Flexibility to automate this during your build process.
If you’re targeting other browsers, use the
data-style attribute to alert these browsers to your changes.
method on the outermost element you would like to polyfill.
flexibility method contains child functions for use within your
Return flexbox related styles from an element.
Return a list of flexbox details from a matching element or its descendants.
Writes flexbox details back to their respective elements.
Writes a list of flexbox details back to their respective elements.
If you experience an issue, read the contributing section before creating an issue.