rohitkrai03 / pills

A simple responsive CSS Grid for humans. View Demo -
https://rohitkrai.dev/pills
MIT License
1.46k stars 56 forks source link

Different layouts on different screen sizes? #9

Closed ghost closed 8 years ago

ghost commented 8 years ago

Nice library.

Apologies if I missed something - but how would I go about having a set of elements occupy a different number of cols on different screen sizes?

Say I had a set of divs that were to be 4 cols on a large screen, 6 cols on a med screen, and 12 cols on a small screen...

I can see in the demo that everything changes to a single column when the window is mobile portrait sized. Is this the only "responsiveness" available?

Thank you

rohitkrai03 commented 8 years ago

This framework was built keeping in mind the simplicity of fluid and responsive layouts. That is why there is no option for defining different cols for different screen sizes.