animating an element's height using jquery

前端 未结 7 528
情书的邮戳
情书的邮戳 2021-01-26 04:56

I have some bars that are filled with a height %, but right when the page loads I would like all the bars to fill up and then decrease to 0. I know how to fill it up with a for

7条回答
  •  广开言路
    2021-01-26 05:33

    I think jQuery animate is what you are looking for. Result is something like this.

提交回复
热议问题