RCSSJavaScript 对象转换工具
RCSS 用来将你的 JavaScript 对象转成 CSS 类。
例如:
var RCSS = require('RCSS');
var button = {
  display: 'inline-block',
  padding: '6px 12px',
  // CamelCased. Transformed back into the dashed CSS counterparts on-the-fly.
  marginBottom: '0',
  ':hover': {
    color: 'blue'
  }
};
module.exports = RCSS.registerClass(button);评论
