29 January 2013
Playing around with CSS Flex Box. Currently only works in Opera.
CSS as follows:
#container { display: flex; justify-content: space-around; align-items: center; margin-top:2em;}#container div { flex:1 1 auto; padding: 0 2em;}.box-2 { order: 1;}
See it in action here: CSS Flex Box
Some sources:
Quick hits with the Flexible Box Model - HTML5Rocks