Html
    Css
    Js

    
                        
* {
	border:0;
	margin:0;
	padding:0;
}
body {
	background:#444;
	font-family:Tahoma;
	margin:0 auto;
	font-size:12px
}
ul {
	display:block;
	margin:0;
	padding:0;
	list-style:none;
}
li {
	display:block;
	margin:0;
	padding:0;
	list-style:none;
}
img {
	border:0;
}
dl,dt,dd,span {
	margin:0;
	padding:0;
	display:block;
}
a,a:focus {
	text-decoration:none;
	color:#000;
	outline:none;
	blr:expression(this.onFocus=this.blur());
}
a:hover {
	color:#00a4ac;
	text-decoration:none;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
cite {
	font-style:normal;
}
h2 {
	font-weight:normal;
}
::-moz-selection {
	color:#fff;
	color:rgba(255,255,255,0.85);
	background:#03a8b1;
}
::selection {
	color:#fff;
	color:rgba(255,255,255,0.85);
	background:#03a8b1;
}
article,aside,dialog,footer,header,section,footer,nav,figure,menu {
	display:block
}
h2 {
	font-size:12px
}
/*clearboth*/
.clearfix:after {
	content:'.';
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.clearfix {
	*zoom:1;
}
.clearfix .clear {
	_height:0px;
}
/*gotop*/
.cbbfixed {
	position:fixed;
	right:10px;
	transition:bottom ease .3s;
	bottom:-85px;
	z-index:3;
	cursor:pointer;
}
.cbbfixed .cbbtn {
	width:40px;
	height:40px;
	display:block;
	background-color:#02a2aa;
}
.cbbfixed .gotop {
	transition:background-color ease .3s;
	margin-top:1px;
}
.cbbfixed .gotop .up-icon {
	float:left;
	margin:14px 0 0 9px;
	width:23px;
	height:12px;
	background:url(http://www.jq22.com/img/cs/300x500-1.png);
}
.cbbfixed .gotop:hover {
	background-color:#2c2d2e;
}
.cbbfixed .cweixin {
	background:#dadbdd;
}
.cbbfixed .cweixin div {
	background:url(http://www.jq22.com/img/cs/300x500-2.png);
	width:194px;
	height:199px;
	position:absolute;
	left:-194px;
	top:-115px;
	opacity:0;
	transform:scale(0);
	-webkit-transform:scale(0);
	transform-origin:100% 70%;
	-webkit-transform-origin:100% 70%;
	transition:transform ease .3s,opacity ease .3s;
	-webkit-transition:all ease .3s;
	display:none\0;
	*display:none;
}
.cbbfixed .cweixin:hover div {
	display:block;
	transform:scale(1);
	-webkit-transform:scale(1);
	opacity:1;
	*display:block;
}
.cbbfixed .cweixin .weixin-icon {
	float:left;
	margin:12px 0 0 11px;
	width:18px;
	height:18px;
	background:url(http://www.jq22.com/img/cs/500x500-1.png);
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.9.1
 立即下载

jequery返回顶部

0