https://github.com/liip/kanbasu
A lightweight CSS framework written in Sass.
https://github.com/liip/kanbasu
bem css css-framework framework sass
Last synced: about 16 hours ago
JSON representation
A lightweight CSS framework written in Sass.
- Host: GitHub
- URL: https://github.com/liip/kanbasu
- Owner: liip
- License: mit
- Created: 2015-08-17T08:24:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-05T13:43:01.000Z (over 1 year ago)
- Last Synced: 2025-10-25T03:51:21.919Z (5 months ago)
- Topics: bem, css, css-framework, framework, sass
- Language: SCSS
- Homepage: https://kanbasu.liip.ch
- Size: 1.26 MB
- Stars: 92
- Watchers: 52
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://badge.fury.io/js/kanbasu)
[](https://travis-ci.org/liip/kanbasu)

---
## Important information
**Kanbasu won’t get any new features from now on, we do not recommend using it in new projects.**
This framework was created during a time it solved an actual problem for us and after being used for years, we think there are now better solutions available. In particular, we are convinced that the utility-first approach gives us more control over the styling of interfaces with less code.
If you’re looking for an alternative in that direction, we’re recommending the amazingly well-done [Tailwind CSS](https://tailwindcss.com/).
---
Kanbasu is a toolbox to create responsive web interfaces quickly. It’s focused on the layout and voluntarily avoid defining much “styling” properties which can be completely different from project to project.
Written is Sass, it’s highly customizable, every component being optional and customizable with variables.
CSS features used are working in all current major browsers. The oldest Internet Explorer version supported is 11. However, the framework does not include vendor-prefixed properties! When building it, we recommend you to use Autoprefixer to ensure a complete compatibility.
Read more and browse the documentation on [kanbasu.liip.ch](http://kanbasu.liip.ch/).
## Install
**With npm** (recommended)
```bash
npm install --save-dev kanbasu
```
**With Yarn**
```
yarn add --dev kanbasu
```
**As a Git submodule**
```bash
git submodule add git@github.com:liip/kanbasu.git
```
**Manually**
[Download the latest release archive](https://github.com/liip/kanbasu/archive/master.tar.gz)
## Setup
Easily scaffold a new project by running the script below in your project directory to:
1. duplicate `kanbasu.scss` (renamed `main.scss`) and `settings/_settings.scss` to the specified destination
2. adapt paths inside `main.scss` to match the Node module location
3. remove Sass `!default` flags from `settings/_settings.scss`
4. import `settings/_settings.scss` into `main.scss`
With npx:
```bash
npx kanbasu path/to/your/sass/directory
```
See [other scaffolding methods](http://kanbasu.liip.ch/2/docs/installation.html#setup).
### Disclaimer
Kanbasu does not include vendor-prefixed properties. You should consider using a tool like [Autoprefixer](https://github.com/postcss/autoprefixer) to ensure the properties used match the desired browser support.
## What’s next?
Have a look at the [documentation →](http://kanbasu.liip.ch/)