Why is padding expanding a flex item?
The calculations are defined in the spec. A flex item’s size with padding and flex-grow is determined by calculations in the flexbox spec. These calculations are similar to the sizing of flex items with padding and flex-shrink. Frankly, the math is quite technical and not the easiest thing in the world to understand. But if … Read more