function cssRemoveClass(el, className) {
  const classNames = split(className);
  for (let i = 0; i < classNames.length; i++) {
    const reg = new RegExp(`(\\s|^)${classNames[i]}(\\s|$)`);
    el.className = el.className.replace(reg, '').trim();
  }

  return el.className;
}
/**
 * Removes the given class name to the given element
 *
 * @param {Element} el        The element
 * @param {String}  className One or more space separated class names
 * @returns {String}
 */
Removes the given class name to the given element
@param {Element} el        The element
@param {String}  className One or more space separated class names
@returns {String}
Removes the given class name to the given element @param { Element } el The element @param { String } className One or more space separated class names @returns { String }
function cssRemoveClass(el, className) {
  const classNames = split(className);
  for (let i = 0; i < classNames.length; i++) {
    const reg = new RegExp(`(\\s|^)${classNames[i]}(\\s|$)`);
    el.className = el.className.replace(reg, '').trim();
  }
  return el.className;
}
function cssRemoveClass ( el , className ) { const classNames = split ( className ) ; for ( let i = 0 ; i < classNames . length ; i ++ ) { const reg = new RegExp ( ` \\ ${ classNames [ i ] } \\ ` ) ; el . className = el . className . replace ( reg , '' ) . trim ( ) ; } return el . className ; }
Removes the given class name to the given element
 @param {Element} el        The element
 @param {String}  className One or more space separated class names
 @returns {String}
Removes the given class name to the given element @param { Element } el The element @param { String } className One or more space separated class names @returns { String }