Html
    Css
    Js

    
                        
* {
	margin:0;
	padding:0;
}
.title {
	width:400px;
	height:70px;
	margin:0 auto;
	padding-top:30px;
	text-align:center;
	font-size:24px;
	font-weight:bold;
	color:#F00;
}
.btns {
	width:190px;
	height:30px;
	margin:0 auto;
}
.btns span {
	display:block;
	float:left;
	width:80px;
	height:27px;
	line-height:27px;
	background:#036;
	border:1px solid #eee;
	border-radius:7px;
	margin-right:10px;
	color:#FFF;
	text-align:center;
	font-size:14px;
	font-family:"微软雅黑";
	cursor:pointer;
}

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

js实现抽奖效果

0