| 3 | | Small correction: seems that both the -moz- and -o- rules don't work when they are after the old-style -webkit- rule, so the order should be: |
| 4 | | |
| 5 | | {{{ |
| 6 | | .grad-to-top { |
| 7 | | background-color: #fff; |
| 8 | | background-image: -moz-linear-gradient(top, #fff, #000); |
| 9 | | background-image: -o-linear-gradient(top, #fff, #000); |
| 10 | | background-image: -webkit-gradient(linear, left bottom, left top, from(#fff), to(#000); |
| 11 | | background-image: -webkit-linear-gradient(top, #fff, #000); |
| 12 | | background-image: linear-gradient(to bottom, #fff, #000); |
| 13 | | } |
| 14 | | }}} |
| | 3 | Small correction: seems that both the -moz- and -o- rules don't work... |
| | 4 | Edit: disregard that :) Was just a typo in the above example. |