Skip to content
This repository was archived by the owner on Oct 1, 2022. It is now read-only.

yangg/postcss-background-alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCSS background-alpha Build Status

PostCSS PostCSS plugin to add gradient filter for IE8 to support rgba background.

/* Input example */
.foo {
  background-color: rgba(0,0,0,0.5);
}
/* Output example */
.foo {
  background-color: rgba(0,0,0,0.5);
  -ms-filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='80000000',EndColorStr = '80000000');
}

Usage

postcss([ require('postcss-background-alpha') ])

See PostCSS docs for examples for your environment.

About

PostCSS plugin to add gradient filter for IE8 to support rgba background.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors