Skip to content

alexlibby/postcss-filter-tint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tint Filter for PostCSS Build Status

PostCSS plugin to add tint filter to element.

Input:
.foo {
    filter: tint(1, 200);
}
Output:
.foo {
  filter: sepia(1) hue-rotate(200deg);
}

Installation

$ npm install postcss-filter-tint

Usage

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

It is recommended that you use Autoprefixer to add vendor prefixes.

See PostCSS docs for examples for your environment.

About

Add a tint filter to elements using PostCSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors