The problem of line wrapping in flex layout

when you want to wrap the third box and reduce the window to the minimum width, the box can still keep the top three, and the bottom three

.
Mar.20,2021

set flex-wrap + item's width to complete. Here is an example of the Nine Palace grid written earlier.
is similar. Please refer to
Live Demo
Source Code

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37a9f-2adf6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37a9f-2adf6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?