Flex layout for Html similar to Elm's builtin flow layout