New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

postcss-directions

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-directions

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

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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.

Keywords

postcss

FAQs

Package last updated on 09 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts