contao/test — Issue #2960: Add gradient - linear gradient to the style sheet generator
Author: importer
Created: 2011-11-29 10:39:02+00:00
State: open
Labels: Feature, frontend

Specify the gradient once in the style sheet generator and automatically output all browser-specific definitions:

For example:

```
background: #1E5799; /** old browsers **/

background: -moz-linear-gradient(top, #1E5799 0%, #2989D8 50%, #207cca 51%, #7db9e8 100%); /** firefox **/

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1E5799), color-stop(50%,#2989D8), color-stop(51%,#207cca), color-stop(100%,#7db9e8)); /** webkit **/

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1E5799', endColorstr='#7db9e8',GradientType=0 ); /** ie **/
```

Related issues: #2959

--- _Originally created by jscholtysik on March 25th, 2011, at 07:37am (ID 2961)_