Opened 11 years ago
Closed 11 years ago
#10339 closed bug (invalid)
Creating Gradient Background doesn't work in IE.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | css | Version: | 1.6.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I want to have a gradient background for my div. In other browsers it works. For example, Google Chrome and Safari
.css('background', '-webkit-gradient(linear, left top, left bottom, color-stop(0%,#61c419), color-stop(100%,#b4e391))')
For IE, .css('background', 'filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#61c419", endColorstr="#b4e391",GradientType=0 )')
but it doesn't work.
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | unfiled → css |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
filter is not a value of the background property. Do .css('filter', 'progid...') instead.
Note: See
TracTickets for help on using
tickets.
Demonstration here:
http://jsfiddle.net/xerenader/Ft9dY/