multicol-breaking-nobackground-003-ref.html (1057B)
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<br> 39 DDDDD<br> 40 EEEEE 41 </div> 42 <div class="inner righthalf" style="left: 95px"> 43 FFFFF<br> 44 GGGGG<br> 45 HHHHH<br> 46 IIIII<br> 47 JJJJJ 48 </div> 49 <div class="inner lefthalf" style="left: 204px"> 50 KKKKK<br> 51 LLLLL<br> 52 MMMMM<br> 53 NNNNN<br> 54 OOOOO 55 </div> 56 <div class="inner righthalf" style="left: 299px"> 57 PPPPP<br> 58 QQQQQ 59 </div> 60 </div>