jQuery实现数字华容道小游戏(实例代码)
数字华容道 *{ padding:0px; margin:0px; } #btns>button{ width:100px; height:30px; border:none; background:#0082df; color:white; } #content{ text-align:center; margin:0auto; } #grid{ border:1pxsolid#0082df; width:300px; margin:20pxauto; height:300px; } #grid>div{ float:left; width:33%; background:gray; height:33%; margin-bottom:1px; margin-right:1px; } .num{ background:#0082df; width:99%; height:99%; color:white; font-size:30px; font-weight:bold; line-height:99px; } 步数
0