Re:CSS Framework for Dummies
by untothebreach on Thursday April 09, 2015 @07:06AM
(#9346735)
I am the farthest thing from a CSS expert, so if someone came up with a decent grid system that was class-less (like this "framework" currently is) I would be ecstatic. Till then, I will wait for `flexbox` to be fully supported in all the browsers I care about :)
[ Parent
| on HN ]
A grid system without classes would be an incredible feat as I view it as near impossible. Sure, you could do it via targeting elements with descending and sibling selectors but you would have to stick to a rigorous markup pattern and could never, ever change it. Plus there's the risk of eventually affecting elements not intended to be targeted.
I imagine the same problem would exist for flexbox as well, unless the browsers start having proper flex elements.
This isn't really a framework so to speak, it's a css reset. Much like Normalize and Skeleton. There's nothing wrong with it, as more options along those lines are always welcome.
Re:CSS Framework for Dummies
by rolfvandekrol on Thursday April 09, 2015 @09:30AM
(#9347321)
Did you take a look at Neat? http://neat.bourbon.io/
My framework http://natuive.net has class-less grid, just put anything in a .row div.
Re:CSS Framework for Dummies
by rolfvandekrol on Thursday April 09, 2015 @10:11AM
(#9347612)
How is a grid that requires a .row class exactly class-less?
It's probably because you don't need to explicitly flag a container as a grid with a class. I think that's what he's getting at.