IE Gradient (Diagonal)

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
User avatar
Pazuzu156
Forum Contributor
Posts: 241
Joined: Sat Nov 20, 2010 9:00 pm
Location: GA, USA
Contact:

IE Gradient (Diagonal)

Post by Pazuzu156 »

I'm messing with gradients in IE, and I can make left-right and up-down gradients, but how do you make them diagonal for IE?

Code: Select all

#noTransGrad {
  background:transparent;

  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF0000, endColorstr=#00FF00);

  -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF0000, endColorstr=#00FF00);
}
- Kaleb Klein
------------------------------------
Web Developer | Software Developer
https://kalebklein.com
PGP Key: https://keybase.io/pazuzu156
Post Reply