How to use it
Convert CSS to a JavaScript style object with camelCase properties, nested rules and unitless numbers. Paste CSS above and choose a wrapper for the generated JavaScript style object.
Example
Input: .card { color: red; }
Output: { ".card": { color: "red" } }Limits and behavior
- The converter reports declarations it cannot represent in an object.
- Input is limited to 1 MiB of UTF-8 text.