Ported interface to use the CSS flexbox system.