Html
    Css
    Js

    
                        
#contaner {
	width:606px;
	height:606px;
	border:1px solid #cccccc;
	margin:40px auto;
}
#contaner div {
	width:200px;
	height:200px;
	background:#09f;
	text-align:center;
	color:#fff;
	font-size:16px;
	font-weight:bold;
	line-height:200px;
	float:left;
	border:1px solid #cccccc;
}
#contaner #five {
	transition:all 0.5s ease-in-out 0s;
}
#contaner #five:hover {
	cursor:pointer;
	font-size:25px;
	transform:scale(1.2) rotate(360deg);
	background:#fff;
	color:#09f;
}
.ys {
	transform:scale(1.2);
	box-shadow:0 0 0 200px red inset;
}

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

JS九宫格抽奖小游戏(原创)

更新时间:2020-03-16 00:03:21

代码简单易懂

0