cssdream / cssgrace

从今天起,写简单优雅面向未来的 CSS。From now on,writing brief,elegant,future-oriented CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for CSS Gradients

RaeesBhatti opened this issue · comments

background: linear-gradient(to bottom, #ffffff 0%,#e2f4ff 100%);

can be converted to

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e2f4ff',GradientType=0 ); /* IE6-9 */

I was wondering if CSS Grace can support this feature.

I'm sorry, I don't have a plan for this. Welcome PR.

@raeesiqbal , I'm about to write a plugin to handle this. I think CSS Grace will become a PostCSS plugin pack, and it can include the plugin if needed.

@yuezk Thank you.

@yuezk Nice!

@raeesiqbal Now, it's ready to use! postcss-filter-gradient

thank you 😄