The effect is as follows
The css+html code is as follows
<! DOCTYPE html>
<meta charset= "Utf-8"/>
<title></title>
<style>
@charset "UTF-8";
@font-face {
font-family: ' Icomoon ';
Src:url ("Fonts/icomoon.eot?-wlgqz9");
Src:url ("Fonts/icomoon.eot? #iefix-wlgqz9") format ("Embedded-opentype"), url ("fonts/icomoon.ttf?-wlgqz9") format (" TrueType "), url (" fonts/icomoon.woff?-wlgqz9 ") format (" Woff "), url (" Fonts/icomoon.svg?-wlgqz9#icomoon ") format (" SVG ");
Font-weight:normal;
Font-style:normal; }
[class^= "icon-"], [class*= "icon-"] {
font-family: ' Icomoon ';
Speak:none;
Font-style:normal;
Font-weight:normal;
Font-variant:normal;
Text-transform:none;
Line-height:1;
/* Better Font Rendering =========== * *
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale; }
. icon-wechat:before {
Content: "\e600"; }
. icon-envelop:before {
Content: "\e601"; }
. icon-arrow-up2:before {
Content: "\e602"; }
. icon-phone:before {
Content: "\e603"; }
. toolbar {
position:fixed;
/*left:50%;*/
right:0;
bottom:5px;
Margin-left: -26px; }
. toolbar-item {
width:52px;
height:52px;
Display:block;
position:relative;
margin-top:1px; }
. toolbar-item:hover. Toolbar-btn:before {
Top: -52px; }
. toolbar-item:hover. Toolbar-btn:after {
top:0; }
. toolbar-item:hover:after {
Opacity:1;
Filter:alpha (Opacity=1);
-webkit-transform:scale (1);
-moz-transform:scale (1);
-ms-transform:scale (1);
-o-transform:scale (1);
Transform:scale (1); }
. toolbar-item:after {
Content: "";
Position:absolute;
right:46px;
width:172px;
Bottom: -10px;
Background-image:url (.. /img/toolbar_img.png);
Background-repeat:no-repeat;
-webkit-transform-origin:95% 95%;
-moz-transform-origin:95% 95%;
-ms-transform-origin:95% 95%;
-o-transform-origin:95% 95%;
transform-origin:95% 95%;
opacity:0;
Filter:alpha (opacity=0);
-webkit-transform:scale (0.01);
-moz-transform:scale (0.01);
-ms-transform:scale (0.01);
-o-transform:scale (0.01);
Transform:scale (0.01);
-webkit-transition:all 1s;
-moz-transition:all 1s;
-ms-transition:all 1s;
-o-transition:all 1s;
Transition:all 1s; }
. toolbar-btn {
Position:absolute;
top:0;
left:0;
width:52px;
height:52px;
Overflow:hidden;
font-family: ' Icomoon ';
Speak:none;
Font-style:normal;
Font-weight:normal;
Font-variant:normal;
Text-transform:none;
Line-height:1;
/* Better Font Rendering =========== * *
-webkit-font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale; }
. toolbar-btn:before {
Content: "";
Position:absolute;
left:0;
top:0;
width:52px;
height:52px;
Background-color: #d0d6d9;
Color: #fff;
font-size:30px;
Text-align:center;
line-height:52px;
-webkit-transition:top 1s;
-moz-transition:top 1s;
-ms-transition:top 1s;
-o-transition:top 1s;
Transition:top 1s; }
. toolbar-btn:after {
Content: "";
Position:absolute;
left:0;
top:52px;
width:52px;
height:52px;
Background-color: #98a1a6;
Color: #fff;
font-size:12px;
Text-align:center;
padding-top:12px;
-webkit-transition:top 1s;
-moz-transition:top 1s;
-ms-transition:top 1s;
-o-transition:top 1s;
Transition:top 1s;
White-space:pre; }
. toolbar-item-weixin:after {
Content: "";
height:212px;
background-position:0 0; }
. toolbar-item-weixin. Toolbar-btn:before {
Content: ' \e600 '; }
. toolbar-item-weixin. Toolbar-btn:after {
Content: ' Public \a account '; }
. toolbar-item-feedback. Toolbar-btn:before {
Content: ' \e600 '; }
. toolbar-item-feedback. Toolbar-btn:after {
Content: ' Public \a account '; }
. toolbar-item-app:after {
Content: "";
height:194px;
Background-position:0 -222px; }
. Toolbar-item-app. Toolbar-btn:before {
Content: ' \e600 '; }
. Toolbar-item-app. Toolbar-btn:after {
Content: ' Public \a account '; }
. toolbar-item-top. Toolbar-btn:before {
Content: ' \e600 '; }
. toolbar-item-top. Toolbar-btn:after {
Content: ' Public \a account '; }
/*# Sourcemappingurl=index.css.map * *
</style>
<body>
<!--<div class= "Toolbar" >
<a href= "#" class= "Toolbar-item toolbar-weixin" >
<span class= "Toolbar-layer" ></span>
</a>
<a href= "#" class= "Toolbar-item toolbar-feedback" ></a>
<a href= "#" class= "Toolbar-item Toolbar-app" >
<span class= "Toolbar-layer" ></span>
</a>
<a href= "#" class= "Toolbar-item toolbar-top" ></a>
</div>
<script src= "Js/require.js" data-main= "Js/main" ></script>-->
<!--<div class= "Toolbar" >
<a href= "#" class= "Toolbar-item" >
<span class= "TOOLBAR-BTN" >
<i class= "Toolbar-icon icon-wechat" ></i>
<span class= "Toolbar-text" > Public <br/> Account </span>
</span>
<span class= "Toolbar-layer toolbar-layer-weixin" ></span>
</a>
<a href= "#" class= "Toolbar-item" >
<span class= "TOOLBAR-BTN" >
<i class= "Toolbar-icon icon-envelop" ></i>
<span class= "Toolbar-text" > Comments <br/> Feedback </span>
</span>
</a>
<a href= "#" class= "Toolbar-item" >
<span class= "TOOLBAR-BTN" >
<i class= "Toolbar-icon icon-envelop" ></i>
<span class= "toolbar-text" >app<br/> Download </span>
</span>
<span class= "Toolbar-layer Toolbar-layer-app" ></span>
</a>
<a href= "#" class= "Toolbar-item" >
<span class= "TOOLBAR-BTN" >
<i class= "Toolbar-icon icon-arrow-up2" ></i>
<span class= "Toolbar-text" > Return <br/> Top </span>
</span>
</a>
</div>-->
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<p>111122</p>
<div class= "Toolbar" >
<a href= "#" class= "Toolbar-item toolbar-item-weixin" >
<span class= "Toolbar-btn" ></span>
</a>
<a href= "#" class= "Toolbar-item toolbar-item-feedback" >
<span class= "Toolbar-btn" ></span>
</a>
<a href= "#" class= "Toolbar-item Toolbar-item-app" >
<span class= "Toolbar-btn" ></span>
</a>
<a href= "#" class= "Toolbar-item toolbar-item-top" id= "Backtop" >
<span class= "Toolbar-btn" ></span>
</a>
</div>
<script src= "Js/require.js" data-main= "Js/main" ></script>
</body>