﻿#backtotop{ 

display:block;  
width:32px; 
height:34px;
line-height:15px;
padding-left:8px;
padding-top:8px;
position:fixed;  
bottom:50px;  
right:40px; 
border-radius:6px;   
text-decoration:none;  
display:none; color:#FFF;
background:#00a0ea url(./images/up.png) no-repeat center 1px;     

}

/*上面这段代码，定义了 a 标签的外观样式，定义 display 为 block，这样，我们才能指定它的 width 和 height。定义 position 为fixed，让它固定在右下角。同时为它指定圆角，就是使用 border-radius 属性，定于半径为10px的圆角。*/

#backtotop span{ 

display:block; 

width:60px; 

color:#dddddd; 

} 

#backtotop a:hover{ 

color:#cccccc; 

} 

#gotop span{ 

font-size:40px; 

text-align:center; 

margin-top:4px; 

} 