
Discover flexbox, the CSS layout module that distributes space among items in a container, enabling responsive designs with less code and adaptable layouts.
Evaluate browser compatibility for flexbox across major browsers and versions using Can I Use data, vendor prefixes, and a plugin to apply prefixes for broad, reliable support.
Master how Flexbox uses flex containers and flex items to manage layout along the main and cross axes, with axis start and end points guiding flexible, complex layouts.
Explore how to build flexible layouts using the flex container, display: flex, and core flexbox concepts like the main axis, cross axis, item alignment, and overflow handling.
Explore how flex direction defines the main axis and item placement in flexbox, using row, row-reverse, column, and column-reverse to control horizontal and vertical layouts.
Explore how flex wrap allows wrapping flex items into multiple lines or columns using no wrap, wrap, and wrap reverse, and how flex direction influences wrapping behavior.
Learn to align flex items along the main axis with justify-content in flexbox, using center, space-between, and space-around, and adjust the main axis for vertical alignment on the cross axis.
Master cross-axis alignment in flexbox by using the line items property (align-items) to position items with values like flex-start, center, and stretch, and apply baseline alignment when needed.
Align content in flex layouts by using justify content and align content to control line positioning, center or stretch lines on the cross axis with space between and space around.
Learn to control individual flex items with align-self, overriding the container’s alignment. Use values like flex-start, center, baseline, and stretch to position specific items while the rest follow align-items.
Learn how flex order controls the placement of flex items along the main axis, including positive, zero, and negative values, to enable responsive design.
Explore how flex grow fills the remaining space on the main axis, distributes space by proportional growth, and demonstrates equal versus weighted growth across three items.
Learn how flex shrink governs item sizing to fit a line, with a default of 1, and how setting 0 or using first-child prevents shrinking and triggers overflow.
Learn how flex basis defines the default size of a flex item before space is distributed, and how zeroing flex basis with flex-grow creates equal widths across items.
This course is about Flexbox, the new layout module in CSS3 that lets build complex layouts more easily, with less code and with better quality.
It let's you lay out, align and distribute space among items within a container, even when their sizes are unknown or dynamic.
In this course you'll learn how to use flexbox for:
The only thing you need to take this course is:
During this course I will walk you through all the properties of this new CSS module but, besides that, I'll teach you the fundamentals. So you can understand what is really happening when working with the different properties.
Once you get the key concepts, the rest will be a joy to work with.
For this course I've built a page to give all the content you might need and it will have several exercises and embed code editor to see flexbox in action!
In these exercises you'll be able to change all the CSS and HTML e see the results live, which is really good so you can try different properties and values and see what is happening to your layout.
Here are the topics that we'll be talking about:
At the end, I'll give you some additional resources that might be helpful for you when working with flexbox.
Who is the target audience?