flex
Last updated
Last updated
Sometimes, setting flex-grow, flex-shrink and flex-basis separately are tiring.
You can set all 3 with the flex shorthand. The added bonus of this way is you don't have to set all 3 value, you can skip the properties you're not interested in and just set the one you are. And for the ones you skipped, it will just take on the default value.