|
Posted by Dave on 08/09/06 19:01
Powered by Mod_Python and running under Apache 2, or as a standalone
tool, Switch CSS is a full featured, production ready CSS preprocessor.
Some of the features include:
- variables
- constants
- selector prepending:
#selector {
.class { property: value; }
}
outputs:
#selector { }
#selector .class { property: value; }
With unlimited levels of nesting, this makes CSS easy to read and fast
to write.
- selector copying:
#selector { width: 200px; }
#other_selector { @copy #selector; }
outputs:
#selector { width: 200px; }
#other_selector { width: 200px; }
- selector inheritance:
#selector { width: 200px; }
#other_selector { @inherit #selector; }
outputs:
#other_selector,
#selector { width: 200px; }
#other_selector { }
There are other features, also. I think that's enough to get people
excited.
Switch was designed as a production-ready tool to solve the problem of
front-end design with CSS based-layouts and large CSS files. As we
realized we had 40,000 lines of CSS written and no means of abstracting
or managing the code easily, we decided to write a preprocessor that
was easy to use and had all the bells and whistles a CSS designer could
ever want.
The sourceforge project link follows. We could really use some tire
kickers...
https://sourceforge.net/projects/switchcss/
Thanks,
Dave Worley
Navigation:
[Reply to this message]
|