I'm trying to keep the divs close together, but the second row isn't lining up properly and the divs don't have any margin.
My CSS for the div is as follows:
.post {
box-sizing: border-box;
display: block;
float: left;
font-size: 12px;
margin: 0 15px 20px 0;
padding: 0;
text-align: center;
width: 310px;
background: #fff;
border-radius: 4px;
box-shadow: 0.5px 1px 3px 0 #d5d5d5;
padding: 15px 15px 10px;
}
Here is the current appearance: