Is there a way to use background-size for IE9 for gradients? Because in my case, adding background-size to CSS doesn’t have any effect.
[UPDATED]
Sample code:
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#ccc', endColorstr='#ddd')";
background-size: 2px 100%;
In that case, background-size doesn’t work.
background-sizedoesn’t work inIE9for gradients. Only for images. That’s why a solution is usingSVG.I found one solution in some website, and little bit change it to support
RGBA(SASS)Works fine even for IE9 (except webkit’s):
And how to use it: