Flex would change the state of element. Width would be set to 100%.
Whatever the flex-direction is row or column.
I often meditate on that thing why the box would occupy the whole width without setting, even span.
Unless the element is the flex children, it wouldn’t set width to 100% by default.
content can beyond the border. And border also can beyond the screen.