views:

75

answers:

1

The other day I was randomly browsing the web and I found some program that lets you write CSS aliases and other cool stuff (which I can't remember right now).

As an example, I remember you can do something like this:

.myclass
{
   background-color: red;
   greenfont
}

where greenfont was defined somewhere else as somekind of alias

greenfont { color: green; }

Then the program will generate the resulting CSS based on the alias and other stuff.

Does anyone has used this? Or did I dreamed about it? I cannot find it now :P

+1  A: 

SASS

Jimmy Cuadra
Mmmm... It wasn't exactly that. I don't remember that pink page and it wasn't only for rails. But thanks anyway!
emzero
It's not just for Ruby. Check out Compass, which uses it. http://compass-style.org/
Jimmy Cuadra
Great, I'll check it out. Have you tried it? Do you use it?
emzero
Not personally, but it looks like it has a decent community. Good luck. :)
Jimmy Cuadra