// 父类 .flex-wrap{ display: flex; flex-wrap: wrap; } // 子类 .flex-item{ display: block; width: 20%; }大概是这样,具体效果根据实际调整
大概是这样,具体效果根据实际调整