Skip to content

Posts tagged ‘manipulation’

11
Oct

JavaScript for manipulation with CSS class names

Modern browsers are providing a support of read-only property which returns a live DOMTokenList of the class attributes of the element, which is element.classList, which is actually a list of CSS classes of element, also we have methods for making manipulation with CSS class names and getting their number.
Read moreRead more