Css - Gradient Set For Ie
How do I set gradient for IE, because I was trying but without any luck, I got it working on chrome, firefox, opera but not in IE html, body { height: 100%; background-
Solution 1:
You have no code in there that IE supports. Use colorzilla to create cross-browser gradients:
background: #bde25e; /* Old browsers */background: -moz-linear-gradient(top, #bde25e2%, #8bb31d100%); /* FF3.6+ */background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#bde25e), color-stop(100%,#8bb31d)); /* Chrome,Safari4+ */background: -webkit-linear-gradient(top, #bde25e2%,#8bb31d100%); /* Chrome10+,Safari5.1+ */background: -o-linear-gradient(top, #bde25e2%,#8bb31d100%); /* Opera 11.10+ */background: -ms-linear-gradient(top, #bde25e2%,#8bb31d100%); /* IE10+ */background: linear-gradient(to bottom, #bde25e2%,#8bb31d100%); /* W3C */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bde25e', endColorstr='#8bb31d',GradientType=0 ); /* IE6-9 */
Solution 2:
You have to use this in IE,
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#BDE25E ', endColorstr='#8BB31D ');
Post a Comment for "Css - Gradient Set For Ie"