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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i postcss-directions

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • josephshambrook