My Misconception with Flexbox

Jamie Skinner
1 min readMar 30, 2016

Here is a small problem that I ran into the other day that I wanted to share the solution to:

Basically, you have to remember that Flexbox will manipulate the value of the `width` property in your CSS. Regardless of whether or not it is explicitly set. To solve the problem, add a `min-width` or `max-width` property to the object that you want to stay a certain size.

The pen below illustrates this by example.

--

--