#CSS Typed OM API will be pretty cool when Firefox finally supports it too.

CSS Typed Object Model API - Web APIs | MDN
The CSS Typed Object Model API simplifies CSS property manipulation by exposing CSS values as typed JavaScript objects rather than strings. This not only simplifies CSS manipulation, but also lessens the negative impact on performance as compared to HTMLElement.style.


