Wondering what’s next for npm?Check out our public roadmap! »

postcss-directions

1.0.0 • Public • Published

PostCSS Directions Build Status

PostCSS plugin to convert properties between rtl and ltr. Just prefix usual CSS properties with -ltr- or -rtl-.

.float-left {
    -ltr-float:left;
    -rtl-float:right;
}
.float-left {
    float:left;
}

Usage

postcss([ require('postcss-directions') ])

Options

  • direction - what prefixed properties to output. Default - ltr

See PostCSS docs for examples for your environment.

Install

npm i postcss-directions

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar