Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <style> |
michael@0 | 4 | body { |
michael@0 | 5 | margin: 0; |
michael@0 | 6 | } |
michael@0 | 7 | .outerContainer { |
michael@0 | 8 | display: flex; |
michael@0 | 9 | height: 100px; |
michael@0 | 10 | background-color: red; |
michael@0 | 11 | } |
michael@0 | 12 | .innerContainer { |
michael@0 | 13 | display: flex; |
michael@0 | 14 | flex: 1; |
michael@0 | 15 | background-color: lime; |
michael@0 | 16 | } |
michael@0 | 17 | </style> |
michael@0 | 18 | </head> |
michael@0 | 19 | <body> |
michael@0 | 20 | <div class="outerContainer"> |
michael@0 | 21 | <div class="innerContainer"></div> |
michael@0 | 22 | </div> |
michael@0 | 23 | </body> |
michael@0 | 24 | </html> |