display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-around;
    &::after {
        content: '';
        flex: auto;
    }

参考链接:Flex-box: Align last row to grid