b2KIT

CSS Flexbox Playground

Experiment with Flexbox properties visually and copy the generated CSS code.

How to Use CSS Flexbox Playground

  1. 1

    Set container properties

    Adjust flex-direction, justify-content, align-items, and wrap.

  2. 2

    Configure flex items

    Set flex-grow, flex-shrink, and flex-basis on individual items.

  3. 3

    See live preview

    Watch the layout update in real time as you change values.

  4. 4

    Copy the CSS

    Click copy to grab the flexbox CSS for your stylesheet.

Related Tools