Neurological Phenomenon Multiplexer
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

postcss-border-radius

1.0.0 • Public • Published

PostCSS Border Radius Build Status

PostCSS plugin for border-radius shorthand.

Usage

postcss([ require('postcss-border-radius') ])

Input:

.top {
    border-top-radius: 5px;
}
 
.right {
    border-right-radius: 5px;
}
 
.bottom {
    border-bottom-radius: 5px;
}
 
.left {
    border-left-radius: 5px;
}

Output:

.top {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}
 
.right {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
 
.bottom {
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
 
.left {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

See PostCSS docs for examples for your environment.

install

npm i postcss-border-radius

Downloadsweekly downloads

1

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability