arnaudleray / pocketgrid

PocketGrid is a lightweight pure CSS grid system for Responsive Web Design. Moreover, it is semantic, mobile-first, and allows to have an unlimited number of columns and breakpoints.
http://arnaudleray.github.io/pocketgrid/
MIT License
321 stars 48 forks source link

Clearfix to block group not working when applying Pocket Grid in CSS #10

Open mdmoura opened 9 years ago

mdmoura commented 9 years ago

Hello

I have been using Pocket Grid on my less code (http://codepen.io/mdmoura/pen/hapox).

However to make this work correctly I need to "manually" add a clear to block-group.

If I add block group to the element class then it works.

Any idea why?

Thank You, Miguel

olegatro commented 9 years ago

Class .items must have clearfix. I don't now why less not exntended :before and :after.

P.S. I suggest you reformat code, because he is not very beautiful.