OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Multicol edge clipping</title> | |
5 <script> | |
6 if (window.internals) | |
7 internals.settings.setRegionBasedColumnsEnabled(true); | |
8 </script> | |
9 <style> | |
10 .mc { | |
11 columns: 3; | |
12 column-gap: 15px; | |
13 column-fill: auto; | |
14 -webkit-columns: 3; | |
15 -webkit-column-gap: 15px; | |
16 -webkit-column-fill: auto; | |
17 width: 600px; | |
18 height: 100px; | |
19 margin: 100px; | |
20 overflow:hidden; | |
21 } | |
22 </style> | |
23 </head> | |
24 <body> | |
25 <p>There should be a 100x100 blue square below.</p> | |
26 <div class="mc"> | |
27 <div style="width:150px; height:200px; margin-left:-50px; margin-top:-100p x; background:blue;"></div> | |
28 </div> | |
29 </body> | |
30 </html> | |
OLD | NEW |