Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 3 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # JSS plugin that allows to write camel cased rule properties
  2. [![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby)
  3. Internally it converts everything back to dash separated names.
  4. Make sure you read [how to use
  5. plugins](https://github.com/cssinjs/jss/blob/master/docs/setup.md#setup-with-plugins)
  6. in general.
  7. ## Example
  8. ```javascript
  9. const styles = {
  10. container: {
  11. fontSize: '20px',
  12. zIndex: 1,
  13. lineHeight: 1.2
  14. }
  15. }
  16. ```
  17. ```css
  18. .container-a24234 {
  19. font-size: 20px;
  20. z-index: 1;
  21. line-height: 1.2;
  22. }
  23. ```
  24. ## Demo
  25. [Simple](http://cssinjs.github.io/examples/plugins/jss-camel-case/simple/index.html)
  26. ## Issues
  27. File a bug against [cssinjs/jss prefixed with \[jss-camel-case\]](https://github.com/cssinjs/jss/issues/new?title=[jss-camel-case]%20).
  28. ## Run tests
  29. ```bash
  30. npm i
  31. npm run test
  32. ```
  33. ## License
  34. MIT