Announcing Switch, the CSS Preprocessor

D

Dave

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top