I want to make mixin for all browser including IE9 IE9, IE8, IE7 and Opera.
Like http://www.colorzilla.com/gradient-editor/ generate the code
it generate
What is the benefit of background-size: 100%;?
What is the benefit of using background-image instead background?
SVG images are background images, and the contents of that property is a programatically generated image. To keep it consistent, Compass uses the background image. Additionally, specifying background-image
can allow the coder to specify a background-color
that won't get nuked by the mixin.
Setting background-size
ensures that the image actually stretches to fill the space of the element, instead of being the size of the image itself.
Is there a way to add filter:none to the element only for IE9 in Compass?
How to get IE6-8 compatible code too in compass like this filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=0 );?
There are three options to both of these: