Show/Hide Requires a Double-click

前端 未结 2 1917
闹比i
闹比i 2021-01-28 10:56

I\'m writing a basic show/hide function that displays a block of content and changes some text from \"Show More Benefits\" to \"Show Less Benefits\" (and vice versa).

Fo

2条回答
  •  借酒劲吻你
    2021-01-28 11:33

    Another option, with transition animation:

        
    
    

提交回复
热议问题