Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js add class

const element = document.querySelector('.my-element');
element.classList.add('animate__animated', 'animate__bounceOutLeft');
Source by animate.style #
 
PREVIOUS NEXT
Tagged: #js #add #class
ADD COMMENT
Topic
Name
9+7 =