JSS object use JSON (JavaScript object) syntax:

property: {

property: value,

property: value,


property: value



The JSS object is "evaluated" by the JSS processor using the JavaScript eval() method. Therefore the object must be valid JavaScript. In particular the properties must be quoted in general to avoid JavaScript errors.

While color:"red" is OK, .selected:<something> is not. Use the quoted version ".selected" instead.

Note that float is a reserved word in JavaScript. Therefore float:"right" will produce a JavaScript error. Use the quoted version "float":"right" instead.

After "evaluating" the resulting JavaScript object is processed and CSS definitions are generated.