Reputation: 7935
I needed to develop my own grid layout. I put my code here: http://codepen.io/anon/pen/fznyw
Problem is - grid should be 12 columns. Widths are in percents. But I can't get my last element to stay in a row. What did I do wrong?
I tried using margin-left:-30px
on .container
, but it didn't helped. Only solution was, to make a class .first-in-row
with margin-left:0
, but, since those blocks will be reordered, I can't use this solution.
Upvotes: 0
Views: 49
Reputation: 795
I changed percentages a bit. I am not sure if there is better way of sorting those grids but I managed to find percentages for some of them, you could use this and finish all 12.
Upvotes: 1