To align an element to the bottom with flexbox with CSS, we set the flex-grow
property.
For instance, we write
p {
flex-grow: 1;
}
to make the p element fill all available space with flex-grow: 1;
.
To align an element to the bottom with flexbox with CSS, we set the flex-grow
property.
For instance, we write
p {
flex-grow: 1;
}
to make the p element fill all available space with flex-grow: 1;
.