CSSJSON icon indicating copy to clipboard operation
CSSJSON copied to clipboard

Converts CSS to JSON and back.

Results 36 CSSJSON issues
Sort by recently updated
recently updated
newest added

In CSS, the trailing terminator (semi-colon) is not required for the last rule. In your code, if the last rule is not terminated with a semi-colon it does not get...

Hi, Amazing stuff this is . I am using it to build a CSS compatibility testing tool . I need to be able to retrieve the original line numbers from...

The following: ` '.lumi-calc-content': { children: { '.ant-form-item': { children: { '.lumi-input-container': { children: {}, attributes: { 'border-color': '#EBEBEB', 'border-width': '2px' } } } } } } ` gets parsed...

``` /** * CSS-JSON Converter for JavaScript * Converts CSS to JSON and back. * Version 2.1 * * Released under the MIT license. * * Copyright (c) 2013 Aram...

made you a playground on jsfiddle https://jsfiddle.net/sophtwhere/onpoxy4e/embedded/css%2Cresult/dark/ To use, paste your css into the CSS editor, and switch to result pane note: sample code has css for newtons balls animation,...

I tried run: ``` CSSJSON.toJSON("/* input css code .. */\nbody { ") ``` in chrome console and then browser dead .. is there endless loop?

`body {background: #aaa url('data:image/png;base64,iVBORw0') no-repeat 10px 12px;}` is parsed as: ``` { "children": { "body": { "0": "base64,iVBORw0') no-repeat 10px 12px;", "children": {}, "attributes": { "background": "#aaa url('data:image/png" } }...

Have you had in luck in parsing nested CSS rules? Like the kind that are used in Sass and LESS? Like this: ``` .my-style { color" #666; .my-inner-style { width:...

/\* #TB_window img { display:block; margin: 15px 0 0 15px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; border-top: 1px solid #666; border-left: 1px solid #666; } */ Parse selector...

Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies