how to remove a class after 100 milliseconds in jquery code example
Example 1: remove a class after 100 milliseconds jquery
$('.box').addClass("bg1").delay(100).removeClass("bg1");
Example 2: how to remove a class in js after 100 milliseconds
setTimeout(function () {
$(YourTarget).removeClass("classToRemove");
}, 100);