Show HN: Lissom.CSS - A classless, minimalist, and themeable CSS library
lissomware.github.io
lissomware.github.io
> To make a button primary, add the data-primary attribute to it.
For things like this, I feel like a class would be ok while still calling the library "classless". Is there some advantage to using a data-* attribute here or is it just to retain "purity" of the classless tagline?
I've added Lissom to the big list of minimal CSS frameworks [0] which aims to collect all of these types of projects (more or less) in one place for ease of discoverability and comparison. You can preview the CSS on some HTML5 boilerplate here [1].
The more traditional CSS libraries provide ton of classes, and your html is filled with classes for the basic styling.
My go to classless CSS is MVP.css
Note: the link below is built entirely with MVP.css (including multiple columns, which is something most classless frameworks lack)
Example sites using MVP.css include
Also, why not use "gap" instead of "margin-right-but-not-last-child"?
Sorry for nitpicking, this is obviously a very minor issue. I always welcome smaller and lighter libraries!
Some kind of containers that can use 1/2 1/4 of width and look good on mobile would probably be nice.
I would also add nav with mobile switch, I saw one fully in css.
Really nice in general though!
Marx, The classless CSS reset (perfect for Communists).