DEV Community

Cover image for Flexbox For Dummies: Everything You Need To Master Any CSS Layout
Nick Adams
Nick Adams

Posted on

Flexbox For Dummies: Everything You Need To Master Any CSS Layout

A quick run through just a couple examples and we can break down the most important flex properties with clear examples to help you level up your web development skills.

Here I'll cover the most important properties and their shorthands, and the most common layouts.

Learn these and you'll be able to easily nest them together and build just about any layout you want.

I cover: the axis and how it works with direction, alignment, gap, order, wrapping, flex basis, grow, and shrink.

These properties are covered:

  • display: flex
  • flex
  • flex-wrap
  • gap
  • flex-basis
  • flex-grow
  • flex-shrink
  • order
  • flex-direction
  • flex-flow
  • justify-content
  • align-items
  • align-content

Check out our video and comment if you have any questions!

Want a specific webdev tutorial? Comment on the video and
subscribe to our channel. We'd love to make valuable content, so feedback and suggestions are extremely appreciated!

Top comments (0)