Home › Forums › CSS › How to fade from one div to another › Reply To: How to fade from one div to another
January 8, 2018 at 10:54 pm
#265181
Beverleyh
Participant
I am using jQuery to change the CSS rules of div1 to noOpacity
Looks like you’ve forgotten to include your JavaScript in the demo.
how can I make it also have the hidden CSS rule once the transition is over and then trigger then CSS change for div2?
With setTimeout()
? https://www.sitepoint.com/jquery-settimeout-function-examples/