GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
I tested out the framework for a website I am developing and was confused on the best practice for margins and padding in boxes (in a grid layout).
If I have a box with content on it and I want to have padding around the content within the box; If I do so it will throw out the last column size (using class lastUnit). I saw in the CSS for the demo pages that all headings and paragraphs have a margin applied to them.
Is this the best way to do it? If I have several boxes with different types of margins or padding I will have to set all of the h[1-6] styles and paragraphs for that box.
Is this something that should be changed for this framework or should I change the way I code css?
I'm still new, but this is what I came across.
you could try this http://brian.moonspot.net/grid-layout/oocss-grid-space.html
and see this thread https://groups.google.com/d/topic/object-oriented-css/HTRSdnx9i3o/discussion
Hope it helps,