Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Controlling the Direction of Flex Items 3:47
- Wrapping Flex Items 2:33
- Distributing Space Inside a Flex Container 5:55
- Changing the Order of Flex Items 5:32
- Wrapping Items and Distributing Space 3 objectives
- Growing Flex Items 3:42
- Smarter Layouts with flex-basis and flex 6:42
- Aligning Flex Items on the Cross Axis 3:43
- Growing and Aligning Flex Items 3 objectives
- Vertical and Horizontal Centering 4:14
- Flexbox Properties Review 6 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
With flexbox you can make flex items grow or shrink in relation to other flex items and the available space inside the flex container.
Resources
Video review
- The
flex-grow
property applies to flex items only. -
flex-grow
determines how much of the available space inside the flex container an item should take up; it assigns more or less space to flex items. - A
flex-grow
value of1
expands flex items to take up the full space of a line. - The higher the
flex-grow
value, the more an item grows relative to the other items.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
ameni smiai
UX Design Techdegree Student 9,993 Points2 Answers
-
Victor Mercier
14,667 Points1 Answer
-
Nicholas Wallen
12,278 Points1 Answer
-
Rebecca Jensen
11,580 Points2 Answers
-
Jordan C
6,249 PointsIs it better to use width with percentages or flexbox with flex-grow to make two columns with a given ratio?
Posted by Jordan CJordan C
6,249 Points1 Answer
-
Learning Coding
7,134 Points1 Answer
-
Jason Brown
9,626 Points2 Answers
-
johnnyesper
5,935 Points2 Answers
-
Qian Chen
33,579 Points4 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up