postcss-clip-path
v0.0.2
Published
PostCSS plugin that adds `clip-path` value from [clippy](http://bennettfeely.com/clippy/).
Downloads
7
Maintainers
Readme
PostCSS clip-path
PostCSS PostCSS plugin that adds clip-path
value from clippy.
.foo {
clip-path: triangle;
}
.foo {
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
--
Value
triangle
trapezoid
parallelogram
rhombus
pentagon
hexagon
heptagon
octagon
nonagon
decagon
bevel
rabbet
leftArrow
rightArrow
leftPoint
rightPoint
leftChevron
rightChevron
star
cross
message
close
frame
--
Usage
postcss([ require('postcss-clip-path') ])
See PostCSS docs for examples for your environment.
--
License
MIT © zhouwenbin