jh3y / driveway

pure CSS masonry layouts
https://jh3y.github.io/driveway
Other
632 stars 85 forks source link

Reduce class definitions for nested layouts #8

Closed jh3y closed 8 years ago

jh3y commented 8 years ago

Issue summary

Clusters are essentially nested layouts so why not play on this fact and reduce the number of classes that need to be remembered.

Currently, we have a dw-cluster classname. But, this could just be a repeat of the dw classname?

It's worth playing with this to see if the amount of classes could be reduced. dw-cluster is essentially dw dw.

@jh3y

jh3y commented 8 years ago

Invalid as clusters need to fill any whitespace, hence the use for display: flex and not nested layouts.