src/dom/setStyle.js
function setStyle(element, key, value) {
  assertType(element, Node, false, 'Invalid element specified');
  if (typeof value === 'number') value = String(value);
  if (value === null || value === undefined) value = '';

  element.style[key] = value;
}
function setStyle(element, key, value) {
  assertType(element, Node, false, 'Invalid element specified');
  if (typeof value === 'number') value = String(value);
  if (value === null || value === undefined) value = '';

  element.style[key] = value;
}
function setStyle ( element , key , value ) { assertType ( element , Node , false , 'Invalid element specified' ) ; if ( typeof value === 'number' ) value = String ( value ) ; if ( value === null || value === undefined ) value = '' ; element . style [ key ] = value ; }
Sets an inline CSS rule of a Node.

@param {Node} element - Target element.
@param {string} key - Name of the CSS rule in camelCase.
@param {*} value - Value of the style. If a number is provided, it will be
automatically suffixed with 'px'.

@see {@link http://www.w3schools.com/jsref/dom_obj_style.asp}

@alias module:requiem~dom.setStyle
Sets an inline CSS rule of a Node .