Is it possible to create a right to left gradient in IE 5-9? In IE 10 it is possible, but is it in earlier versions without using an image?
Left to right gradients in earlier versions:
/* For Internet Explorer 5.5 - 7 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#D5D4D4, endColorStr=#FFFFFFFF, GradientType=1);
/* For Internet Explorer 8 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#D5D4D4, endColorstr=#FFFFFFFF, GradientType=1)";
In IE 10 there is the option to change gradient direction:
/* For Internet Explorer 10 */
-ms-linear-gradient(left, #D5D4D4, #fff 45%);
Sure. Just do:
Serious answer: the gradient
filtersupport two gradients types: 0 (vertical) and 1 (horizontal).If you want to switch from right->lef to left->right , you need to switch the
startandendcolor hex.