How to make css class mapping

1.8k views Asked by At

Can anybody help me to explain more details about how to use closure stylesheet.

I want renaming my css class become more simple

For example I have a css file

.long-class {
      font-weight : bold;
      color : red;
}
.another-class .and-long {
      background-color : #FFFFF;
}

become more simple like this

.a-b {
      font-weight : bold;
      color : red;
}
.c-b .d-a {
      background-color : #FFFFF;
}

I have read this doc, but I didn't find the doc very clear on that.

Thanks...

1

There are 1 answers

0
Danish Adeel On

May be you should use http://lesscss.org/