Current position: home page > Website Design >Add lantern decoration to your emlog template (add lantern code to the webpage)

Add lantern decoration to your emlog template (add lantern code to the webpage)

Author: blueleaf Classification: Website Design Time: December 27, 2023 Browse: 437

The New Year's Day in 2024 is coming, and the Spring Festival is not far away. The festive atmosphere of the festival is getting stronger and stronger. In order to set off the festive atmosphere, we also need to Emlog template Add lantern decoration, add lantern code to your web page, and make the website more festive.

 Add lantern decorations to your emlog template.png

How to Emlog template Add lantern decoration, emlog Template What is the code for adding lanterns to web pages? You also need to put the css Copy the code and html to the emlog template footer php In the file, change the width.

 //For css, please modify the page width of 1200px body{overflow-x:hidden} .dengimg{background:url( https://fc.sinaimg.cn/bmiddle/629db12aly1hl70x27ccog208w0ajk0h.gif ) no-repeat; background-size:cover;} .dengleft{position:absolute;left:50%;margin-left: calc(-1200px / 2 - 120px); top:0px;width:180px;z-index: -1;height:200px} .dengright{position:absolute;right:50%;margin-right: calc(-1200px / 2 - 120px); top:0px;width:180px;transform: rotateY(-180deg); height:200px} //Html section <div class="dengleft dengimg"></div> <div class="dengright dengimg"></div>

Disclaimer:

Website: Click Copy to share with friends!

All content resources shared by this website, if not noted, are original by Blueleaf. If you need to reprint, please indicate the source; Please contact us in case of infringement Contact handling Please understand!

Comment List
 blink the eyes kiss Growl happy think poor It's embarrassing Grievance ha-ha hush Right hum Zuo Hum Hum doubt A bad laugh Make money Sadness Be cool Seduce fierce handshake yeah Hee hee Shyness applause greedy Madness Embrace gather and watch Mighty awesome
Submit comments

Clear information
Close Comment
music appreciation
Back to top