Stooge CSS

Develop fast. CSS in HTML

Stooge CSS

A powerful, intuitive CSS framework for fast web development

Stooge CSS Documentation

  Purge CSS

If you want to minimize your CSS code for production, you can discard the CSS you don't use. Stooge CSS suggests using Purge CSS if you want to minimize your CSS.

We have some code to make it easy for you to do. You need to install purgecss.

In the website you are building, install NPM

1) npm init --yes

2) npm install -D purgecss

3) Click to view config/purgecss.js and then save it in your working directory.

4) Change some settings in purgecss.js - the arrContent variable must contain your html and javascript files.

5) In the scripts section in package.json, paste the following code in:

"build-purgecss": "node ./config/purgecss.js"

6) Now npm run build-purgecss

7) This should create new -purge CSS files in your style directory. Paste the below links into the <head> of your HTML file to replace the other Stooge CSS files.

<link rel="stylesheet" href="./style/stooge-purged.css">
<link rel="stylesheet" href="./style/stooge-responsive-purged.css">
<link rel="stylesheet" href="./style/stooge-colors-purged.css">

Running step 6 needs to be done every change you make. This is a step before production.