Understanding flex-grow, flex-shrink, and flex-basis

Robin Rendle / filed under CSS Flexbox, HTML & CSS

When you apply a CSS property to an element, there’s lots of things going on under the hood. For example, let’s say we have some HTML like this:

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission