Html
    Css
    Js

    
                        
canvas {
	display:block;
	margin:50px auto;
	box-shadow:-2px -2px 2px #efefef,5px 5px 5px #b9b9b9;
	cursor:pointer;
}
.btn-wrap {
	display:flex;
	flex-direction:row;
	justify-content:center;
}
.btn-wrap div {
	margin:0 10px;
}
div>span {
	display:inline-block;
	padding:10px 20px;
	color:#fff;
	background-color:#EE82EE;
	border-radius:5px;
	cursor:pointer;
}
div.unable span {
	background:#D6D6D4;
	color:#adacaa;
}
#result-wrap {
	text-align:center;
}

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

简易五子棋游戏

0