0.0.2 • Published 8 years ago

postcss-clip-path v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

PostCSS clip-path

NPM version Build Status Dependency Status

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