CSS CSS Flexbox Layout Flexbox Properties Growing and Aligning Flex Items

Can anyone help me out with this code challenge!

This is the subject: "Select the class .column and use the flex item property and value that will expand the columns to fill the space of the row."

style.css
/* Complete the challenge by writing CSS below */

.row {
  display: flex;
}

.column {
    align-self: stretch;
} 

2 Answers

Robbie Thomas
Robbie Thomas
31,091 Points

Here you go:

.column {
  flex-grow: 1;
}

Instead of align-self, flex-grow is the proper rule for this. Took me a minute to figure it out if it makes you feel better.

Thanks dude;)