Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

postcss-rtlcss-combined

rtsao21MIT0.0.0

PostCSS plugin that creates a combined LTR/RTL stylesheet

postcss, css, postcss-plugin, rtl, rtlcss

readme

PostCSS-RTLCSS-Combined Build Status

PostCSS plugin that creates a combined LTR/RTL stylesheet

.foo {
    color: red;
    left: 10px;
    border-color: red blue green orange
}
.foo {
    color: red;
    border-color: red blue green orange
}
html[dir="ltr"] .foo {
    left: 10px
}
html[dir="rtl"] .foo {
    border-color: red orange green blue;
    right: 10px
}

Usage

postcss([ require('postcss-rtlcss-combined') ])

See PostCSS docs for examples for your environment.