CSS, Web, Web Development, Layout.
the Flex container does not have enough space, Flex will break the line: Conversely, if the value of the Flex item flex is changed to: .flex__item { flex: 1 0 400px; } When the Flex container does not have enough space to arrange the Flex project, the Flex project will calculate its width according