hyatt@apple.com | 5c5ae5c | 2013-02-20 19:58:16 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <style> |
| 4 | .container { display:inline-block; width:220px; } |
commit-queue@webkit.org | 5e0c945 | 2013-10-15 18:45:29 +0000 | [diff] [blame] | 5 | .multicol { -moz-column-width:100px; -moz-column-gap:10px; -webkit-column-width:100px; -webkit-column-gap:10px; -webkit-column-fill:auto; column-width:100px; column-gap:10px; column-fill:auto; height:300px; border:5px solid black; } |
hyatt@apple.com | 5c5ae5c | 2013-02-20 19:58:16 +0000 | [diff] [blame] | 6 | .block { width:100px; height:100px } |
| 7 | .block:hover { background-color: maroon !important; } |
| 8 | .layer { height:400px; width:100px } |
| 9 | </style> |
hyatt@apple.com | 5c5ae5c | 2013-02-20 19:58:16 +0000 | [diff] [blame] | 10 | <body style="overflow:hidden"> |
| 11 | |
| 12 | <div class="container"> |
| 13 | Overflow: |
| 14 | <div class="multicol"> |
| 15 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 16 | <div style="overflow:hidden;" class="layer"> |
| 17 | <div class="block" style="background-color: #0000f0"></div> |
| 18 | <div class="block" style="background-color: #0000d0"></div> |
| 19 | <div class="block" style="background-color: #0000b0"></div> |
| 20 | <div class="block" style="background-color: #000090"></div> |
| 21 | </div> |
| 22 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 23 | </div> |
| 24 | </div> |
| 25 | |
| 26 | <div class="container"> |
| 27 | Transforms: |
| 28 | |
| 29 | <div class="multicol"> |
| 30 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 31 | <div style="margin-left: -100px; -webkit-transform: translate(100px, 0);" class="layer"> |
| 32 | <div class="block" style="background-color: #0000f0"></div> |
| 33 | <div class="block" style="background-color: #0000d0"></div> |
| 34 | <div class="block" style="background-color: #0000b0"></div> |
| 35 | <div class="block" style="background-color: #000090"></div> |
| 36 | </div> |
| 37 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 38 | </div> |
| 39 | </div> |
| 40 | </div> |
| 41 | |
| 42 | <div class="container"> |
| 43 | Relative Positioning: |
| 44 | <div class="multicol"> |
| 45 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 46 | <div style="position:relative; margin-left:-100px; left:100px" class="layer"> |
| 47 | <div class="block" style="background-color: #0000f0"></div> |
| 48 | <div class="block" style="background-color: #0000d0"></div> |
| 49 | <div class="block" style="background-color: #0000b0"></div> |
| 50 | <div class="block" style="background-color: #000090"></div> |
| 51 | </div> |
| 52 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | <div class="container"> |
| 57 | Opacity: |
| 58 | |
| 59 | <div class="multicol"> |
| 60 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 61 | <div style="opacity:0.99;" class="layer"> |
| 62 | <div class="block" style="background-color: #0000f0"></div> |
| 63 | <div class="block" style="background-color: #0000d0"></div> |
| 64 | <div class="block" style="background-color: #0000b0"></div> |
| 65 | <div class="block" style="background-color: #000090"></div> |
| 66 | </div> |
| 67 | <div class="block" style="display:inline-block; background-color:black"></div> |
| 68 | </div> |
commit-queue@webkit.org | 5e0c945 | 2013-10-15 18:45:29 +0000 | [diff] [blame] | 69 | </div> |