postcss-flex-to-table-cell

PostCSS plugin fix ie < 10 flex

Usage no npm install needed!

<script type="module">
  import postcssFlexToTableCell from 'https://cdn.skypack.dev/postcss-flex-to-table-cell';
</script>

README

PostCSS Flex Ie Build Status

PostCSS plugin fix ie < 10 flex.

/* Input example */
.foo {
    display: flex;
    align-items: center;
}
/* Output example */
.foo > * {
  display: table-cell;
  vertical-align: middle;
}

Usage

postcss([ require('postcss-flex-ie') ])

See PostCSS docs for examples for your environment.