Home

Search IconIcon to open search

Flexbox

# Some cool properties

# flex-grow

A child property. If an element can grow, then then how much free space it gets (relative to other elements’ flex-grow)? 0 by default, which means it can’t grow.

# flex-shrink

A child property. Like , but for shrinking. 1 by default.

# Examples