css-to-style
Transform a string of css rules into a style object.
Usage
;
Parameters
cssText
string of CSS rules
Return value
An object of CSS rules, where the properties are camelCased.
Example
; ;// returns { fontSize: '2em', color: '#f00', marginTop: '4px' }