I've used flex to get the following look and feel.
As you can see the bottom line of the set of boxes have different spacing than the first row. My markup is as following. Note that I've only included the parent element and one child element.
<div class="wr-operations">
<a class="operation-icon text-center ripple">
<i class="fw fw-dial-up icon fw-3x"></i>
<span>Ring</span>
</a>
</div>
The css goes as following.
.wr-operations{
display: flex;
-webkit-flex-flow: row wrap;
justify-content: space-between;
}
.operation-icon {
width: 88px;
height: 100px;
float: left;
cursor: pointer;
position: relative;
margin: 0px 0px 10px 0px;
font-size: 12px;
background: #fafafa;
padding: 2px 10px 10px 10px;
}
My question is how to align the bottom line as the first one! the content should left align in the second line.