OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 div { border:5px solid maroon; -webkit-column-count:2; width:750px; margin: 1em
0 } | 4 div { border:5px solid maroon; -webkit-column-count:2; width:750px; margin: 1em
0 } |
5 h2 { -webkit-column-span: all; background-color:#eeeeee } | 5 h2 { -webkit-column-span: all; background-color:#eeeeee } |
6 </style> | 6 </style> |
7 </head> | 7 </head> |
8 <body> | 8 <body> |
9 <div style="display:none"><h2 id="base">This is a spanning element.</h2></div> | 9 <div style="display:none"><h2 id="base">This is a spanning element.</h2></div> |
10 | 10 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 document.body.offsetHeight; | 130 document.body.offsetHeight; |
131 | 131 |
132 spanners = document.getElementsByTagName('h2'); | 132 spanners = document.getElementsByTagName('h2'); |
133 for (i = 0; i < spanners.length; i++) { | 133 for (i = 0; i < spanners.length; i++) { |
134 spanners[i].style.display = 'none'; | 134 spanners[i].style.display = 'none'; |
135 } | 135 } |
136 </script> | 136 </script> |
137 | 137 |
138 </body> | 138 </body> |
139 </html> | 139 </html> |
OLD | NEW |