The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Animate removal of class Reply To: Animate removal of class


Obviously you can’t animate a class toggle…it’s a binary state thing.

Rather than adding a new class to an existing one, perhaps try removing the original class and adding a different one.

If you do the transitions right on each class I think that might be an option…but I confess I’m still struggling to wrap my head around what you are trying to do.