OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .multicol { |
| 4 margin: 3em 0; |
| 5 width: 60px; |
| 6 -webkit-column-width: 20px; |
| 7 -webkit-column-gap: 0; |
| 8 column-fill: auto; |
| 9 height: 60px; |
| 10 } |
| 11 .square { |
| 12 width: 20px; |
| 13 height: 20px; |
| 14 background: green; |
| 15 } |
| 16 |
| 17 .layer { transform: translateZ(0); } |
| 18 |
| 19 </style> |
| 20 <p>There should be two green squares below.</p> |
| 21 <!-- composited layer in composited layer: --> |
| 22 <div class="multicol"> |
| 23 <div class="square"></div> |
| 24 <div class="layer"> <!-- from first to second column --> |
| 25 <div class="square"></div> |
| 26 <div class="layer"> |
| 27 <div class="square"></div> |
| 28 <div class="square"></div> |
| 29 </div> |
| 30 <div class="square"></div> |
| 31 </div> |
| 32 <div class="square"></div> |
| 33 <div class="square"></div> |
| 34 <div class="square"></div> |
| 35 <div class="square"></div> |
| 36 </div> |
| 37 |
| 38 <!-- composited layer in composited layer in composited layer: --> |
| 39 <div class="multicol"> |
| 40 <div class="layer"> <!-- all columns --> |
| 41 <div class="layer"> <!-- from first to second column --> |
| 42 <div class="square"></div> |
| 43 <div class="square"></div> |
| 44 <div class="layer"> <!-- from first to second column --> |
| 45 <div class="square"></div> |
| 46 <div class="square"></div> |
| 47 </div> |
| 48 </div> |
| 49 <div class="square"></div> |
| 50 <div class="layer"> <!-- from second to third column --> |
| 51 <div class="layer"> <!-- from second to third column --> |
| 52 <div class="square"></div> |
| 53 <div class="square"></div> |
| 54 </div> |
| 55 <div class="square"></div> |
| 56 <div class="square"></div> |
| 57 </div> |
| 58 </div> |
| 59 </div> |
OLD | NEW |