OLD | NEW |
1 <sky> | 1 <sky> |
2 | 2 |
3 <import src="../resources/run-after-display.sky" /> | 3 <import src="../resources/run-after-display.sky" /> |
4 <style> | 4 <style> |
5 sky { | 5 sky { |
6 padding: 10px; | 6 padding: 10px; |
7 } | 7 } |
8 div { | 8 div { |
9 width: 50px; | 9 width: 50px; |
10 height: 50px; | 10 height: 50px; |
11 white-space: nowrap; | 11 white-space: nowrap; |
12 } | 12 } |
13 </style> | 13 </style> |
14 Transforms | 14 Transforms |
15 <div style="transform: translate3d(10px, 10px, 0); background-color: pink;"> | 15 <div style="transform: translate3d(10px, 10px, 0); background-color: pink;"> |
16 One | 16 One |
17 <div style="transform: translate3d(10px, 10px, 0); background-color: salmon;"> | 17 <div style="transform: translate3d(10px, 10px, 0); background-color: salmon;"> |
18 Two | 18 Two |
19 <div style="transform: translate3d(10px, 10px, 0); background-color: papayaw
hip;"> | 19 <div style="transform: translate3d(10px, 10px, 0); background-color: papayaw
hip;"> |
20 Three | 20 Three |
21 </div> | 21 </div> |
22 </div> | 22 </div> |
23 </div> | 23 </div> |
24 | 24 |
25 <div style="position: absolute; top: 250px;"> | 25 <div style="position: absolute; top: 250px;"> |
26 Opacity | 26 Opacity |
27 <div style="opacity: 0.8; background-color: pink;"> | 27 <div style="opacity: 0.8; background-color: pink; transform: translate3d(0, 0,
0)"> |
28 One | 28 One |
29 <div style="opacity: 0.7; position: absolute; left: 10px; background-color:
salmon;"> | 29 <div style="opacity: 0.7; position: absolute; left: 15px; top: 10px; backgro
und-color: salmon;"> |
30 Two | 30 Two |
31 <div style="opacity: 0.6; position: absolute; left: 20px; background-color
: papayawhip;"> | 31 <div style="opacity: 0.6; position: absolute; left: 15px; top: 10px; backg
round-color: papayawhip;"> |
32 Three | 32 Three |
33 <div style="opacity: 0; transform: translate3d(0, 10px, 0); background-c
olor: papayawhip;"> | 33 <div style="opacity: 0; transform: translate3d(0, 10px, 0); background-c
olor: papayawhip;"> |
34 Clear | 34 Clear |
35 </div> | 35 </div> |
36 </div> | 36 </div> |
37 </div> | 37 </div> |
38 </div> | 38 </div> |
39 </div> | 39 </div> |
40 | 40 |
41 | 41 |
(...skipping 29 matching lines...) Expand all Loading... |
71 import "dart:sky.internals" as internals; | 71 import "dart:sky.internals" as internals; |
72 | 72 |
73 void main() { | 73 void main() { |
74 runAfterDisplay(() { | 74 runAfterDisplay(() { |
75 internals.notifyTestComplete(""); | 75 internals.notifyTestComplete(""); |
76 }); | 76 }); |
77 } | 77 } |
78 </script> | 78 </script> |
79 | 79 |
80 </sky> | 80 </sky> |
OLD | NEW |