multicol-breaking-nobackground-000-ref.html (776B)
1 <!DOCTYPE HTML> 2 <title>CSS Test Reference: breaking of a multicolumn</title> 3 <meta charset="utf-8"> 4 <link rel="author" title="L. David Baron" href="https://dbaron.org/"> 5 <link rel="author" title="Mozilla" href="https://mozilla.org/"> 6 <style> 7 8 .outer { 9 height: 100px; 10 width: 800px; 11 background: rgba(0, 0, 255, 0.3); 12 position: relative; 13 } 14 15 .inner { 16 height: 100px; 17 width: 86px; 18 font: 16px/1.25 sans-serif; 19 position: absolute; 20 top: 0; 21 } 22 23 .lefthalf { 24 border-right: 2px solid fuchsia; 25 padding-right: 7px; 26 } 27 28 .righthalf { 29 padding-left: 7px; 30 } 31 32 </style> 33 34 <div class="outer"> 35 <div class="inner lefthalf" style="left: 0"> 36 AAAAA<br> 37 BBBBB<br> 38 CCCCC 39 </div> 40 <div class="inner righthalf" style="left: 95px"> 41 DDDDD<br> 42 EEEEE 43 </div> 44 </div>