

/*=================
返回顶部:
后期可以加多一些样式
=================*/
p#back-to-top {
    position:fixed;
    right:30px;
    bottom:100px;

}

p#back-to-top a {
    text-align:center;
    text-decoration:none;
    color:#d1d1d1;
    display:block;
    width:30px;
    /*使用CSS3中的transition属性给跳转链接中的文字添加渐变效果*/
    -moz-transition:color 1s;
    -webkit-transition:color 1s;
    -o-transition:color 1s;
}
p#back-to-top a:hover{
    color:#979797;
}
p#back-to-top a span{
    background:#d1d1d1 url("../../../image/arrow-up.jpg") no-repeat;
    border-radius:6px;
    display:block;
    height:50px;/*如果高低设置，少于100，会有动画的哦*/
    width:40px;
    margin-bottom:5px;
    /*使用CSS3中的transition属性给<span>标签背景颜色添加渐变效果*/
    -moz-transition:background 1s;
    -webkit-transition:background 1s;
    -o-transition:background 1s;
}
#back-to-top a:hover span{
    background:#979797 url("../../../image/arrow-up.jpg")  no-repeat center center;
}

