| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <style> | 4 <style> |
| 5 div { | 5 div { |
| 6 position: absolute; | 6 position: absolute; |
| 7 z-index: 1; | 7 z-index: 1; |
| 8 width: 10px; | 8 width: 10px; |
| 9 height: 10px; | 9 height: 10px; |
| 10 } | 10 } |
| 11 | 11 |
| 12 .composited { | 12 .composited { |
| 13 -webkit-transform: translatez(0); | 13 transform: translatez(0); |
| 14 top: 60px; | 14 top: 60px; |
| 15 left: 60px; | 15 left: 60px; |
| 16 width: 400px; | 16 width: 400px; |
| 17 height: 400px; | 17 height: 400px; |
| 18 background-color: gray; | 18 background-color: gray; |
| 19 } | 19 } |
| 20 | 20 |
| 21 .overlap1 { | 21 .overlap1 { |
| 22 top: 140px; | 22 top: 140px; |
| 23 left: 140px; | 23 left: 140px; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 squash together (as they would create a layer that's too sparse), but the | 67 squash together (as they would create a layer that's too sparse), but the |
| 68 third and fourth layers should squash together. | 68 third and fourth layers should squash together. |
| 69 --> | 69 --> |
| 70 <div class="composited"></div> | 70 <div class="composited"></div> |
| 71 <div id="A" class="overlap1"></div> | 71 <div id="A" class="overlap1"></div> |
| 72 <div id="B" class="overlap2"></div> | 72 <div id="B" class="overlap2"></div> |
| 73 <div id="C" class="overlap3"></div> | 73 <div id="C" class="overlap3"></div> |
| 74 <div id="D" class="overlap4"></div> | 74 <div id="D" class="overlap4"></div> |
| 75 </body> | 75 </body> |
| 76 </html> | 76 </html> |
| OLD | NEW |