Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add a class in classlist and remove after 100 ms using jquery

var header = $('#header');
header.addClass('blue');
setTimeout(function() {
    header.removeClass('blue');
}, 4000);
Source by jqueryhouse.com #
 
PREVIOUS NEXT
Tagged: #add #class #classlist #remove #ms #jquery
ADD COMMENT
Topic
Name
5+9 =