Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <style type="text/css"> |
michael@0 | 5 | #block1, #block2 { |
michael@0 | 6 | height: 20px; |
michael@0 | 7 | background-color: orange; |
michael@0 | 8 | } |
michael@0 | 9 | #block1 { |
michael@0 | 10 | margin-bottom: 10px; |
michael@0 | 11 | } |
michael@0 | 12 | #multi-column { |
michael@0 | 13 | -moz-column-count: 1; |
michael@0 | 14 | column-count: 1; |
michael@0 | 15 | height: 20px; |
michael@0 | 16 | margin: 20px 0; |
michael@0 | 17 | background-color: blue; |
michael@0 | 18 | } |
michael@0 | 19 | #block2 { |
michael@0 | 20 | margin-top: 10px; |
michael@0 | 21 | } |
michael@0 | 22 | </style> |
michael@0 | 23 | </head> |
michael@0 | 24 | <body> |
michael@0 | 25 | <div id="block1"></div> |
michael@0 | 26 | <div id="multi-column"></div> |
michael@0 | 27 | <div id="block2"></div> |
michael@0 | 28 | </body> |
michael@0 | 29 | </html> |