0.0.3 • Published 10 years ago
postcss-polygon v0.0.3
PostCSS polygon
PostCSS PostCSS plugin that adds clip-path and shape-outside value from clippy.
.foo {
clip-path: triangle;
shape-outside: triangle;
}.foo {
clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
shape-outside: polygon(50% 0%, 0% 100%, 100% 100%);
}--
Value
triangletrapezoidparallelogramrhombuspentagonhexagonheptagonoctagonnonagondecagonbevelrabbetleftArrowrightArrowleftPointrightPointleftChevronrightChevronstarcrossmessagecloseframe
--
Usage
postcss([ require('postcss-polygon') ])See PostCSS docs for examples for your environment.
--
License
MIT © zhouwenbin
--
Thanks
0.0.3
10 years ago