mini.css a minimal Sass-y responsive mobile-first style-agnostic CSS framework

If you want to create your own flavor, get involved or report an issue, head over to mini.css's GitHub repository or the wiki. If you want to give mini.css a try using the default flavor, paste the following code inside your HTML page's <head> tag:

<link rel="stylesheet" href="https://cdn.rawgit.com/Chalarangelo/mini.css/v1.1.0/flavors/mini-default.min.css">

If you'd rather use a package manager, mini.css is available in both Bower and NPM:

 bower install mini.css
 npm install mini.css

Why mini.css?


  • Size matters! - The key focus of mini.css is to provide developers with a very light framework to build their pages with. To accomplish this, we stripped down most of the commonly-used components to their essentials, utilising the magic of CSS. By building lighter components, using only CSS, we made mini.css really tiny, just under 5KB for the default flavor.
  • Easily customize your pages! - mini.css does not rely on a huge monolithic CSS file to do everything. In fact, we split the framework into smaller modules using Sass(SCSS), so you can easily distinguish what pieces you want in your final stylesheet. But that's not all! Every single detail of the provided modules can be changed, from colors and border styles to class names and structure. It's all really simple and you can do it without a lot of CSS or Sass knowledge. These customized stylesheets are called flavors and are one of the key differences between mini.css and other frameworks.
  • We are mobile-friendly!* - That's right! We built mini.css from the ground up to support mobile devices as best as possible and be responsive. All of this functionality can be fully customized to suit your end-users.
  • No Javascript! - As much as we all love Javascript, we tried to keep all of the modules in mini.css pure CSS. This means no dependencies on Javascript libraries or excessive code for events you might never use.
(*): We do not want to claim that any website will ever instantly work 100% the way you want on mobile, but mini.css eliminates a lot of the tedious work of making your websites mobile-friendly, so you can focus on the interesting parts that actually need your attention.

What does it contain?

mini.css is split up into modules, each with a specific focus or set of components. These modules are categorized under core modules and extra modules. We suggest that you use most of the core modules in your projects, as most projects can make good use of them. As for the extra modules, we suggest you carefully pick the ones you need for your project. Below is a quick overview of all the modules: