Why is a flex item limited to parent size?
You need to consider flex-shrink. As you can read here: The flex-shrink CSS property specifies the flex shrink factor of a flex item. Flex items will shrink to fill the container according to the flex-shrink number, when the default size of flex items is larger than the flex container. body { margin: 0; } * … Read more