This code snippet is almost functioning correctly, but there seems to be an issue with it taking up the entire width available:
https://jsfiddle.net/d16ba2re/2/
CSS:
ul {
display: flex;
flex-direction: column;
flex-wrap: wrap;
height: 100px;
padding: 0;
margin: 0
}
li {
background: white;
border: 1px solid #ccc;
list-style: none;
padding: 0;
margin: 0
}
The justify-content
property doesn't seem to have any effect, regardless of how I adjust it.
Is there a simple solution to achieve the desired outcome here, or am I at a dead end?