简体   繁体   中英

How to make css class mapping

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...

也许您应该使用http://lesscss.org/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM