OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 | 3 |
4 <html lang="en"> | 4 <html lang="en"> |
5 <head> | 5 <head> |
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
7 <title>Opacity between absolutes</title> | 7 <title>Opacity between absolutes</title> |
8 <style type="text/css" media="screen"> | 8 <style type="text/css" media="screen"> |
9 .container { | 9 .container { |
10 position: relative; | 10 position: relative; |
11 height: 200px; | 11 height: 200px; |
12 width: 200px; | 12 width: 200px; |
13 border: 1px solid black; | 13 border: 1px solid black; |
14 -webkit-transform: translateZ(0); | 14 transform: translateZ(0); |
15 } | 15 } |
16 | 16 |
17 .fader { | 17 .fader { |
18 height: 50px; | 18 height: 50px; |
19 width: 50px; | 19 width: 50px; |
20 margin: 20px; | 20 margin: 20px; |
21 border: 1px solid black; | 21 border: 1px solid black; |
22 -webkit-transition: opacity 100s; | 22 -webkit-transition: opacity 100s; |
23 } | 23 } |
24 | 24 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 <div class="fader"> | 66 <div class="fader"> |
67 <div class="fader"> | 67 <div class="fader"> |
68 <div class="inner"> | 68 <div class="inner"> |
69 </div> | 69 </div> |
70 </div> | 70 </div> |
71 </div> | 71 </div> |
72 </div> | 72 </div> |
73 | 73 |
74 </body> | 74 </body> |
75 </html> | 75 </html> |
OLD | NEW |