只用 css 和 html 做扫雷游戏 https://raw.githubusercontent.com/propjockey/css-sweeper/master/index.html
涉及技术:
实现:
<input type="radio"> 用:checked选择器定义对应模式下的属性值<a> 做:visited和:hover样式效果animation + content<input[type="checkbox"]> sweep 暴露层<input[type="checkbox"]> qm 问号层<input[type="checkbox"]> flag 旗帜层<i> tile