CSS flex
❮
Previous
Next
❯
Demo of the different values of the flex property.
Click the property values below to see the
result:
Change the flex property of the BLUE div:
red div
blue div
yellow div
pink div
Change the flex property of the BLUE div:
red div
blue div
yellow div
pink div
Change the flex property of the BLUE div:
red div
blue div
yellow div
pink div
Change the flex property of the BLUE div:
red div
blue div
yellow div
pink div
Play more with the code in our Tryit yourself editor:
Try it Yourself ❯