Basscss – Low-level CSS toolkit
basscss.com
basscss.com
.italic { font-style: italic }
from [0]This is certainly odd considering how far we've come in embracing semantic markup and styling.
Another example of something that's tiny and super fast for prototyping but produces code bloat and non-semantic classes. Looks great otherwise. No SASS version?
- Content-layer semantics are already served by HTML elements and other attributes.
- Class names impart little or no useful semantic information to machines or human visitors.
- The primary purpose of a class name is to be a hook for CSS and JavaScript.
- Class names should communicate useful information to developers.
This is what has started putting me off Bootstrap. Container -> Row -> Column - feels like table based design all over again and my HTML is no longer semantic.
[0] http://www.basscss.com/docs/reference/principles/#immutable-...
Not sure technically how this is immutable..
I'm a fan of utility classes. I don't think that classes should be named based on their content, or that we should be using stupidly specific and complex selectors so we can keep our markup clean (clean markup has nothing to do with class names or selectors); But I feel like this takes to too far.
What do I gain over inline styles? This doesn't seem to be too much more maintainable than that.
Some of the styles are nice and ready to copy though, ie. the table styles, but not sure what the intention of this project is.
--
→ What lightweight css-starter-kit would you choose for any of your upcoming projects? Other than reset.css or normalize.css of course :)
I don't like bootstrap and similar, because it's just too large and most people end up using all of the classes and the whole javascript instead of only the stuff they need. Bootstrap is absolutely great for projects that quickly need a whole "UI Theme" fix.