Background color property slide up

前端 未结 2 412
夕颜
夕颜 2021-01-28 11:46

The question is in in transitionBackground function. In this case, the function triggers when the up button is pressed on the page.

    
    

        
2条回答
  •  甜味超标
    2021-01-28 12:11

    Here's an example using the toggle function with two divs: http://jsfiddle.net/SmAHU/ (loosely based on Nick011's reply)

提交回复
热议问题