removeClass
Removes a class from an HTML element.
- Use
Element.classList
andDOMTokenList.remove()
to remove the specified class from the element.
Removes a class from an HTML element.
Element.classList
and DOMTokenList.remove()
to remove the specified class from the element.