CSS, Web, Web Development, Layout.
the Flex container. .flex__container::after { content: ""; display: flex; flex: 0 1 32vw; } Note that the flex-basis of a pseudo-element is recommended to be the same as the flex-basis (or width) of the card. At this point you will see an example like this: However, this method is not the best way.