code: function setCSS(el, properties) {
      var key;
      for (key in properties) {
        if (properties.hasOwnProperty(key)) {
          el.style[key] = properties[key];
        }
      }
    }
docs: Update multiple css values on an object