Debian Codegraph @

autoprefixer/test/cases/gradient.out.css

raw symbols SCIP
1 a {
2 background: -webkit-linear-gradient(99.5deg, white, black), -webkit-linear-gradient(220deg, black, white), -webkit-linear-gradient(45deg, black, white);
3 background: -o-linear-gradient(99.5deg, white, black), -o-linear-gradient(220deg, black, white), -o-linear-gradient(45deg, black, white);
4 background: linear-gradient(350.5deg, white, black), linear-gradient(-130deg, black, white), linear-gradient(45deg, black, white);
5 }
6
7 b {
8 background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(white)), -webkit-gradient(linear, left top, left bottom, from(white), to(black));
9 background-image: -webkit-linear-gradient(rgba(0,0,0,1), white), -webkit-linear-gradient(white, black);
10 background-image: -o-linear-gradient(rgba(0,0,0,1), white), -o-linear-gradient(white, black);
11 background-image: linear-gradient(rgba(0,0,0,1), white), linear-gradient(white, black);
12 }
13
14 strong {
15 background: -webkit-linear-gradient(bottom, transparent, rgba(0, 0, 0, 0.8) 20px, #000 30px, #000) no-repeat;
16 background: -o-linear-gradient(bottom, transparent, rgba(0, 0, 0, 0.8) 20px, #000 30px, #000) no-repeat;
17 background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.8) 20px, #000 30px, #000) no-repeat;
18 }
19
20 div {
21 background-image: -webkit-radial-gradient(right, white, black), -webkit-repeating-linear-gradient(top left, black, white), -webkit-repeating-radial-gradient(bottom, aqua, red);
22 background-image: -o-radial-gradient(right, white, black), -o-repeating-linear-gradient(top left, black, white), -o-repeating-radial-gradient(bottom, aqua, red);
23 background-image: radial-gradient(to left, white, black), repeating-linear-gradient(to bottom right, black, white), repeating-radial-gradient(to top, aqua, red);
24 }
25
26 .old-radial {
27 background: -webkit-radial-gradient(0 50%, ellipse farthest-corner, black, white);
28 background: -o-radial-gradient(0 50%, ellipse farthest-corner, black, white);
29 background: radial-gradient(0 50%, ellipse farthest-corner, black, white);
30 }
31
32 .simple1 {
33 background: -webkit-gradient(linear, left top, left bottom, from(black), to(white));
34 background: -webkit-linear-gradient(black, white);
35 background: -o-linear-gradient(black, white);
36 background: linear-gradient(black, white);
37 }
38
39 .simple2 {
40 background: -webkit-gradient(linear, right top, left top, from(black), color-stop(50%, rgba(0, 0, 0, 0.5)), to(white));
41 background: -webkit-linear-gradient(right, black 0%, rgba(0, 0, 0, 0.5)50%, white 100%);
42 background: -o-linear-gradient(right, black 0%, rgba(0, 0, 0, 0.5)50%, white 100%);
43 background: linear-gradient(to left, black 0%, rgba(0, 0, 0, 0.5)50%, white 100%);
44 }
45
46 .simple3 {
47 background: -webkit-gradient(linear, right top, left top, color-stop(50%, black), to(white));
48 background: -webkit-linear-gradient(right, black 50%, white 100%);
49 background: -o-linear-gradient(right, black 50%, white 100%);
50 background: linear-gradient(to left, black 50%, white 100%);
51 }
52
53 .simple4 {
54 background: -webkit-gradient(linear, left bottom, right top, from(black), to(white));
55 background: -webkit-linear-gradient(left bottom, black, white);
56 background: -o-linear-gradient(left bottom, black, white);
57 background: linear-gradient(to right top, black, white);
58 }
59
60 .direction {
61 background: -webkit-gradient(linear, left top, right bottom, from(black), color-stop(rgba(0, 0, 0, 0.5)), to(white));
62 background: -webkit-linear-gradient(top left, black, rgba(0, 0, 0, 0.5), white);
63 background: -o-linear-gradient(top left, black, rgba(0, 0, 0, 0.5), white);
64 background: linear-gradient(top left, black, rgba(0, 0, 0, 0.5), white);
65 }
66
67 .silent {
68 background: -webkit-linear-gradient(top left, black, white);
69 }
70
71 .radial {
72 background: -webkit-radial-gradient(0 50%, farthest-side, white, black);
73 background: -o-radial-gradient(0 50%, farthest-side, white, black);
74 background: radial-gradient(farthest-side at 0 50%, white, black);
75 }
76
77 .second {
78 background: red -webkit-gradient(linear, left top, left bottom, from(red), to(blue));
79 background: red -webkit-linear-gradient(red, blue);
80 background: red -o-linear-gradient(red, blue);
81 background: red linear-gradient(red, blue);
82 background: url('logo.png'), -webkit-gradient(linear, left top, left bottom, from(#fff), to(#000));
83 background: url('logo.png'), -webkit-linear-gradient(#fff, #000);
84 background: url('logo.png'), -o-linear-gradient(#fff, #000);
85 background: url('logo.png'), linear-gradient(#fff, #000);
86 }
87
88 .px {
89 background: -webkit-linear-gradient(black 0, white 100px);
90 background: -o-linear-gradient(black 0, white 100px);
91 background: linear-gradient(black 0, white 100px);
92 }
93
94 .list {
95 list-style-image: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
96 list-style-image: -webkit-linear-gradient(white, black);
97 list-style-image: linear-gradient(white, black);
98 }
99
100 .mask {
101 -webkit-mask: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
102 -webkit-mask: -webkit-linear-gradient(white, black);
103 mask: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
104 mask: linear-gradient(white, black);
105 }
106
107 .newline {
108 background-image:
109 -webkit-gradient( linear, left top, left bottom, from(white), to(black) ),
110 -webkit-gradient( linear, left top, left bottom, from(black), to(white) );
111 background-image:
112 -webkit-linear-gradient( white, black ),
113 -webkit-linear-gradient( black, white );
114 background-image:
115 -o-linear-gradient( white, black ),
116 -o-linear-gradient( black, white );
117 background-image:
118 linear-gradient( white, black ),
119 linear-gradient( black, white );
120 }
121
122 .convert {
123 background: -webkit-gradient(linear, left bottom, left top, from(white), to(black));
124 background: -webkit-linear-gradient(bottom, white, black);
125 background: -o-linear-gradient(bottom, white, black);
126 background: linear-gradient(0deg, white, black);
127 background: -webkit-gradient(linear, left top, right top, from(white), to(black));
128 background: -webkit-linear-gradient(left, white, black);
129 background: -o-linear-gradient(left, white, black);
130 background: linear-gradient(90deg, white, black);
131 background: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
132 background: -webkit-linear-gradient(top, white, black);
133 background: -o-linear-gradient(top, white, black);
134 background: linear-gradient(180deg, white, black);
135 background: -webkit-gradient(linear, right top, left top, from(white), to(black));
136 background: -webkit-linear-gradient(right, white, black);
137 background: -o-linear-gradient(right, white, black);
138 background: linear-gradient(270deg, white, black);
139 }
140
141 .grad {
142 background: -webkit-linear-gradient(89.1deg, white, black);
143 background: -o-linear-gradient(89.1deg, white, black);
144 background: linear-gradient(1grad, white, black);
145 }
146
147 .rad {
148 background: -webkit-linear-gradient(32.704deg, white, black);
149 background: -o-linear-gradient(32.704deg, white, black);
150 background: linear-gradient(1rad, white, black);
151 }
152
153 .turn {
154 background: -webkit-linear-gradient(342deg, white, black);
155 background: -o-linear-gradient(342deg, white, black);
156 background: linear-gradient(0.3turn, white, black);
157 }
158
159 .norm {
160 background: -webkit-gradient(linear, right top, left top, from(white), to(black));
161 background: -webkit-linear-gradient(right, white, black);
162 background: -o-linear-gradient(right, white, black);
163 background: linear-gradient(-90deg, white, black);
164 }
165
166 .mask {
167 -webkit-mask-image: -webkit-radial-gradient(86% 86%, circle, transparent 8px, black 8px);
168 mask-image: radial-gradient(circle at 86% 86%, transparent 8px, black 8px);
169 }
170
171 .cover {
172 background: -webkit-radial-gradient(center, ellipse cover, white, black);
173 background: -o-radial-gradient(center, ellipse cover, white, black);
174 background: radial-gradient(ellipse cover at center, white, black);
175 }
176
177 .contain {
178 background: -webkit-radial-gradient(center, contain, white, black);
179 background: -o-radial-gradient(center, contain, white, black);
180 background: radial-gradient(contain at center, white, black);
181 }
182
183 .no-div {
184 background: -webkit-gradient(linear, left top, left bottom, from(black));
185 background: -webkit-linear-gradient(black);
186 background: -o-linear-gradient(black);
187 background: linear-gradient(black);
188 }
189
190 .background-shorthand {
191 background: -webkit-radial-gradient(#FFF, transparent) 0 0 / cover no-repeat #F0F;
192 background: -o-radial-gradient(#FFF, transparent) 0 0 / cover no-repeat #F0F;
193 background: radial-gradient(#FFF, transparent) 0 0 / cover no-repeat #F0F;
194 }
195
196 .background-advanced {
197 background: -webkit-radial-gradient(5px 15px, ellipse farthest-corner, rgba(214, 168, 18, 0.7) 0%, rgba(255, 21, 177, 0.7) 50%, rgba(210, 7, 148, 0.7) 95%),
198 -webkit-radial-gradient(#FFF, transparent),
199 url(path/to/image.jpg) 50%/cover;
200 background: -o-radial-gradient(5px 15px, ellipse farthest-corner, rgba(214, 168, 18, 0.7) 0%, rgba(255, 21, 177, 0.7) 50%, rgba(210, 7, 148, 0.7) 95%),
201 -o-radial-gradient(#FFF, transparent),
202 url(path/to/image.jpg) 50%/cover;
203 background: radial-gradient(ellipse farthest-corner at 5px 15px, rgba(214, 168, 18, 0.7) 0%, rgba(255, 21, 177, 0.7) 50%, rgba(210, 7, 148, 0.7) 95%),
204 radial-gradient(#FFF, transparent),
205 url(path/to/image.jpg) 50%/cover;
206 }
207
208 .multiradial {
209 -webkit-mask-image: -webkit-radial-gradient(100% 50%, circle closest-corner, #000, transparent);
210 mask-image: radial-gradient(circle closest-corner at 100% 50%, #000, transparent);
211 }
212
213 .broken {
214 -webkit-mask-image: -webkit-radial-gradient(white, black);
215 mask-image: radial-gradient(white, black);
216 }
217
218 .loop {
219 background-image: url("https://test.com/lol(test.png"), -webkit-radial-gradient(yellow, black, yellow);
220 background-image: url("https://test.com/lol(test.png"), -o-radial-gradient(yellow, black, yellow);
221 background-image: url("https://test.com/lol(test.png"), radial-gradient(yellow, black, yellow);
222 }
223
224 .unitless-zero {
225 background-image: -webkit-gradient(linear, left bottom, left top, from(green), to(blue));
226 background-image: -webkit-linear-gradient(bottom, green, blue);
227 background-image: -o-linear-gradient(bottom, green, blue);
228 background-image: linear-gradient(0, green, blue);
229 background: -webkit-repeating-linear-gradient(bottom, blue, red 33.3%);
230 background: -o-repeating-linear-gradient(bottom, blue, red 33.3%);
231 background: repeating-linear-gradient(0, blue, red 33.3%)
232 }
233
234 .zero-grad {
235 background: -webkit-gradient(linear, left bottom, left top, from(green), to(blue));
236 background: -webkit-linear-gradient(bottom, green, blue);
237 background: -o-linear-gradient(bottom, green, blue);
238 background: linear-gradient(0grad, green, blue);
239 background-image: -webkit-repeating-linear-gradient(bottom, blue, red 33.3%);
240 background-image: -o-repeating-linear-gradient(bottom, blue, red 33.3%);
241 background-image: repeating-linear-gradient(0grad, blue, red 33.3%)
242 }
243
244 .zero-rad {
245 background: -webkit-gradient(linear, left bottom, left top, from(green), to(blue));
246 background: -webkit-linear-gradient(bottom, green, blue);
247 background: -o-linear-gradient(bottom, green, blue);
248 background: linear-gradient(0rad, green, blue);
249 }
250
251 .zero-turn {
252 background: -webkit-gradient(linear, left bottom, left top, from(green), to(blue));
253 background: -webkit-linear-gradient(bottom, green, blue);
254 background: -o-linear-gradient(bottom, green, blue);
255 background: linear-gradient(0turn, green, blue);
256 }