Awesome
<div align="center">YAMB CSS
<small>Yet Another Minimal Barebone CSS Framework</small>
</div>YAMB is a «no bullshit» CSS boilerplate ready to use in your projects.
This project evolved from my own small CSS micro-framework: reoccuring basic snippets I didn't wanted to copy&paste everytime I start a new project or MVP/demo.
YAMB is ready to use, but can also act as a solid starting point for your own design adventure. It has everything you need!
<div align="center"> </div>Features
- 🏝 easy to use, since it is mostly<sup id="a1">1</sup> classless
- 💻 easy to hack on: it's plain simple CSS, no preproccesors involved!<sup id="a2">2</sup>
- 🎨 easy to customize, since there are a lot of CSS variables defined
- 🔋 Batteries included!
- ⚡ lightweight at just 10kb minified<sup id="a3">3</sup>
- 🌚 dark mode's built in!
- 📰 comes with a print stylesheet<sup id="a4">4</sup> (yes, really!)
<b id="f1">[1]</b> Why "mostly" classless?
There are some classes, because there are some conventions many people are following. E.g. I expect the whole content is being wrapped in a div
with a class called page
. YAMB is aimed at finding the happy medium. ↩
<b id="f2">[2]</b> The CSS is still a bit too verbose for my taste, but since this is just plain CSS without any preprocessors it's as good as it can be. It is easy to imagine how compact the CSS could become if a preprocessor with mixins would be used. This is left to be discovered by the reader. ↩
<b id="f3">[3]</b> Minimized with crass, v0.12.3:
crass yamb.css --optimize --O1 > yamb.min.css
↩
<b id="f4">[4]</b> Support for paged media is somewhat patchy, so I tend to include CSS2 specs as well as their new counterparts from CSS3. ↩
There are actually some efforts for easy barebone CSS frameworks out there. They are called classless, since you don't need to learn any proprietary conventions used by full fledged frameworks like Tailwind. A user called dohliam made a fine website where you can directly test a lot of those barebone CSS boilerplates. Chef's recommendations: Sakura CSS & and Water CSS.
Stuck? Need some helpful links?
Worry not, I got you buddy!
A big list full of stuff which might be helpful.