Skip to content

PostCSS plugin to add opacity filter for IE8 and legacy browsers

License

Notifications You must be signed in to change notification settings

iamvdo/postcss-opacity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCSS Opacity Build Status

PostCSS plugin to add opacity filter for IE8.

/* Input example */
.foo {
  opacity: .5;
}
/* Output example */
.foo {
  opacity: .5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

Usage

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

See PostCSS docs for examples for your environment.

About

PostCSS plugin to add opacity filter for IE8 and legacy browsers

Resources

License

Stars

Watchers

Forks

Packages

No packages published