Add back to top button blog Park

Step one, enter personal blog park management background

https://i-beta.cnblogs.com/settings

Step two, the CSS code box configuration page address

Enter the following custom CSS code in the page box

#back-to-top {
    background-color:#CCCCCC;
    bottom: 0;
    box-shadow: 0 0 6px;
    color: #444444;
    padding: 10px 10px;
    position: fixed;
    right: 50px;
    cursor: pointer;
}

Step three, the HTML code block arranged footer

Enter the following HTML code in the footer box

<span id="back-to-top"><a href="#top">TOP</a></span>

Save enter into force

Renderings:

 

Guess you like

Origin www.cnblogs.com/biaopei/p/12532219.html