I stumbled across an issue that I simply don't know how to fix, even after looking and trying countless solutions. Using flexbox, I want to make each div in the section take 1/3 of their parent's width and make each three stay on the same row. It has been answered yet I'm probably missing something that I really can't find at the moment, so any help is appreciated!
To be more clear about the issue here's what happens to every 3rd div in the flexbox:
Of course, I'm going to provide some CSS too:
/* The parent element */
#list {
display: flex;
flex-wrap: wrap;
width: 100%;
}
/* Each div inside */
.page {
padding: 12px;
margin-top: 0px;
margin-bottom: 15px;
margin-left: 8px;
flex: 0 0 33.3333333333%;
}