Skip to article frontmatterSkip to article content
tools = require('../js/tools'); tools.init()
Loading...

purpose

flex is another modern layout engine that tries to solve or at least alleviate
the obvious deficiencies of the old-school block model and related tools

ex1 - default behaviour

by default, direction: row, wrap: nowrap

Loading...

ex2 - wrap mode

identical except that we specify flex-wrap: wrap

Loading...

assignment

use cases

grid’s and flex’s

practice

mimick the layout below

Loading...

optional activity

Flexbox Froggy https://flexboxfroggy.com/ is a game to practice the flexbox properties