Basscss is built with Rework and Gulp. If you’re new to these, follow this guide to get started.
If you don’t have it already, install Node, which includes NPM. Then, install Gulp globally:
npm install --global gulp
Clone or download Basscss, then cd into the basscss directory.
git clone https://github.com/jxnblk/basscss.git && cd basscss
Install the dependencies for Basscss.
npm install
Duplicate /src/basscss.css
to use as a template, make adjustments, then run the following Gulp task from the command line to recompile. This will create uncompressed, minified, and gzipped versions of the file.
gulp rework
To better understand how this is set up, open up gulpfile.js
and take a peek.
To use Rework in an existing Gulp file, follow this recipe: