16. Blog List Loading Effect - Blog Interface Transformation Article (202307)

  I have nothing to do recently, so I wanted to make the blog interface a little more animated, so I found a delay function and wrote out the animation for loading the blog content list.

       The animation effect is quite cool, but because the page is refreshed, the display of the list below needs to be pulled to the bottom to be seen, so I can only record it here.

       Here is the implemented function:

      

       The JS file is here, readers who need it can download and view it by themselves:

       https://files.cnblogs.com/files/lzhdim/LoadAnimation.js

       The effect of using the delay function has been written quite clearly here.

       The timer used in the previous control bar, here directly uses the delay function, and the code will be refactored someday.

Guess you like

Origin blog.csdn.net/lzhdim/article/details/132014592