mozilla

Compare Revisions

<gradient>

Change Revisions

Revision 41109:

Revision 41109 by teoli on

Revision 41110:

Revision 41110 by teoli on

Title:
gradient
gradient
Slug:
CSS/gradient
CSS/gradient
Content:

Revision 41109
Revision 41110
tt13        <div style="background-image: -moz-linear-gradient(left,r
 >ed,orange,yellow, green, blue,indigo,violet); background-image: -
 >moz-linear-gradient(to right, red, orange, yellow, green, blue, i
 >ndigo, violet); background-image: -webkit-linear-gradient(left,re
 >d,orange,yellow, green, blue,indigo,violet); background-image: -m
 >s-linear-gradient(left,red,orange,yellow, green, blue,indigo,viol
 >et); background-image: -o-linear-gradient(left,red,orange,yellow,
 > green, blue,indigo,violet); border: 1px solid black;">
14          A rainbow made from a gradient
15        </div>
16        <pre>
17background-image: linear-gradient(to right, red, orange, yellow, 
 >green, blue, indigo, violet);
18</pre>

Back to History