Skip to content

yepninja/postcss-filter

Repository files navigation

PostCSS Filter Build Status

PostCSS plugin for filter shortcut.

.foo {
  filter: white();
  filter: black()
}
.foo {
  filter: brightness(0) invert(100%);
  filter: brightness(0);
}

Usage

postcss([ require('postcss-filter') ])

See PostCSS docs for examples for your environment.