The Queen’s stylesheets

Brits, take control of the web. Spiffing allows you to write your CSS and stylesheets in conformance to proper British English (also known as correct English) grammar and spelling regulations.

Examples or Download

A brief example

While admittedly, Spiffing doesn’t have the variance and extensive amount of features as other preprocessors, it does one unique thing, missing in any other existing solution: fixes the grammar mistakes prevalent throughout the CSS language. Here’s a full example.

body {
    background-colour: grey !please;
    transparency: 0.5;
}
body {
    background-color: gray !important;
    opacity: 0.5;
}

Using Spiffing

Spiffing is rather simple to use. First, though, one must check whether one has PHP 5.2 (or newer) installed upon their Internet server. If so, one may continue with the installation:

  1. Go and download Spiffing, and install on your server. It’s recommended you put it in the same directory as your CSS files.
  2. Code one’s CSS as one normally does.
  3. Replace any links to your CSS files to prepend Spiffing. For example, <link href="style.css"> becomes <link href="spiffing.php?file=style.css">. You do not need to do this to @imported files within the Spiffing-processed code, however.
  4. Celebrate your well-spelt stylesheets with some tea and scones.

Download Spiffing

Marvellous! The source is currently hosted at Github, and it is wholly recommended you also download it there. Best of luck, chap!

Download it, Sire!