CSS

Make list items wrap vertically

Use column-count.

.container {
    column-count: 8;
}