Re:CSS Zen Garden
by justanotherc on Thursday March 19, 2020 @09:36PM
(#22633693)
This is exactly what Bootstrap does...
[ Parent
| on HN ]
Re:CSS Zen Garden
by uk_programmer on Friday March 20, 2020 @03:03AM
(#22635611)
Kind of and kind of doesn’t. I am saying you should call stuff what it is. So a larger component maybe (this comment text box for example) the styling that belongs to that should all be grouped logically together. The easiest way to do this is have a element with a class attached called comment text box.
Bootstrap does this on some components but it has loads of positional bits and pieces mixed. Also the components are fairly generic.