Diagonal Gradient in IE
问题 Is there a way to have a diagonal gradient in IE? In Chrome I could do something like this: body{ background-image:-webkit-gradient( linear, left top, right bottom, color-stop(0%,#f00), color-stop(50%,#0f0), color-stop(100%,#00f)); } but this doesn't work in IE. 回答1: Yes, it is possible! Although it does not work as well as a real diagonal gradient in other browswers. There are two important aspects of this solution that make it work: Two divs with the same position and different z-index