Last Spring Festival CSS3 animated lantern It seems that everyone likes it. Although it is just a simple thing, it is a bit troublesome to use. You need to add calling code to the current topic. The original code is specially sorted out and made into a plug-in. Add setting options to make it convenient for everyone to use. The plug-in has been tested in the WP default theme normally. I wish you a happy Spring Festival in advance!
Click the picture to view the demonstration effect
usage method:
Add the downloaded plug-in compression package through WP Background → Plug in → Install Plug in → Upload Plug in. After enabling, it will jump to the plug-in settings page (or WP Background → Settings → Festival decorations). You can choose to display the top left and right lanterns, petals falling, plum blossom branches, etc.
Although these elements are floating on the top of the page, it does not affect the mouse to click the link through the element.
The swinging lantern is made of pure DIV+CSS3 animation.
Plum Blossom Branch is only a PNG transparent picture.
The petal falling special effect loads JS files and requires jquery cooperation, which is not suitable for long-term use and may cause computer jam and affect the browsing experience.
If you want to modify the text on the lantern, you can open the class.php file in the plugins final assets directory to modify the text.
Wish you a happy Spring Festival in advance!
Most of the articles on this site are original and used for personal learning records, which may be helpful to you, for reference only!