Every repository with this icon (
Every repository with this icon (
Home

CSScaffold is a CSS framework written in PHP. Rather than try and create a static framework that uses the standard abilities of CSS, like Blueprint, it uses PHP to extend CSS. The syntax looks and feels exactly like CSS, except that you have some new, powerful abilities.
The best part is that all of this is done transparently. You can drop Scaffold into your site and you’ll instantly have access to all of its functionality.
- Constants
- Mixins
- Nested Selectors
- Expressions
- Caching and gzipping
- Extendable through plugin
Getting started with CSScaffold from Anthony Short on Vimeo.
How it works
Scaffold sits in your CSS directory. Whenever you request a CSS file, the .htaccess routes the request through Scaffold.

You don’t have to have it work automatically though, you can point your CSS files to directly to Scaffold:
<link href="/scaffold/index.php?request=/css/master.css" />
Documentation
http://anthonyshort.com.au/scaffold/
Requirements
Scaffold requires a web server with PHP 5+. Mod_rewrite for Apache is required if you want it work automatically route your css files through Scaffold.







