Flex basis

noun

say it: “FLEKS BAY-sis” /flɛks ˈbeɪsɪs/

The size a flex item starts at, before any leftover space is shared out or any shrinking happens.

What does flex-basis do?

flex-basis is an item's starting size before growing or shrinking.

.column { flex-basis: 250px; }

In a sentence

  • “Each product card has a flex-basis of 200px, then grows to fill the row.”

Level: Journeyman · More CSS terms at this level

Updated