Easily generate flexbox layouts that support both new and legacy formats.