Debian Codegraph @

demos/gtk-demo/css_blendmodes.css

raw
1 /*
2 * First page.
3 */
4 image.duck {
5 background-image: url('resource://css_blendmodes/ducky.png');
6 background-size: cover;
7 min-width: 200px;
8 min-height: 200px;
9 }
10
11 image.gradient {
12 background-image: linear-gradient(to right, red 0%%, green 50%%, blue 100%%);
13 min-width: 200px;
14 min-height: 200px;
15 }
16
17 /*
18 * Second page.
19 */
20 image.red {
21 background: url('resource://css_blendmodes/blends.png') top center;
22 min-width: 200px;
23 min-height: 200px;
24 }
25
26 image.blue {
27 background: url('resource://css_blendmodes/blends.png') bottom center;
28 min-width: 200px;
29 min-height: 200px;
30 }
31
32 /*
33 * Third page.
34 */
35 image.cyan {
36 background: url('resource://css_blendmodes/cmy.jpg') top center;
37 min-width: 200px;
38 min-height: 200px;
39 }
40
41 image.magenta {
42 background: url('resource://css_blendmodes/cmy.jpg') center center;
43 min-width: 200px;
44 min-height: 200px;
45 }
46
47 image.yellow {
48 background: url('resource://css_blendmodes/cmy.jpg') bottom center;
49 min-width: 200px;
50 min-height: 200px;
51 }
52
53 image.blend0 {
54 background-image: url('resource://css_blendmodes/ducky.png'),
55 linear-gradient(to right, red 0%%, green 50%%, blue 100%%);
56 background-size: cover;
57 background-blend-mode: %s;
58 min-width: 200px;
59 min-height: 200px;
60 }
61
62 image.blend1 {
63 background: url('resource://css_blendmodes/blends.png') top center,
64 url('resource://css_blendmodes/blends.png') bottom center;
65 background-blend-mode: %s;
66 min-width: 200px;
67 min-height: 200px;
68 }
69
70 image.blend2 {
71 background: url('resource://css_blendmodes/cmy.jpg') top center,
72 url('resource://css_blendmodes/cmy.jpg') center center,
73 url('resource://css_blendmodes/cmy.jpg') bottom center;
74 background-blend-mode: %s;
75 min-width: 200px;
76 min-height: 200px;
77 }