Home >Web Front-end >JS Tutorial >Jquery refresh page background image random transformation method_jquery
How to use: Download jquery-1.9.1.js, and then set the CSS. The image file is placed in the images/new_feed/ directory. The image naming format is bg_x.jpg. Modify the random number generation range
1. CSS code
2. Jquery code