Whack-a-mole(打地鼠)
2017-08-17 09:59
816 查看
源码传送门:https://github.com/yycer/share
几个小问题
1.flex布局
传送门:http://blog.csdn.net/m0_37851778/article/details/77241009
2.setTimeout()
3.classList属性返回元素的类名,作为DOMTokenList对象。
4.line-height
http://cssreference.io/property/line-height/
几个小问题
1.flex布局
传送门:http://blog.csdn.net/m0_37851778/article/details/77241009
2.setTimeout()
setTimeout(()=> timeUp = true , 10000); //等价于 setTimeout(function(){ timeUp = true; },10000);
3.classList属性返回元素的类名,作为DOMTokenList对象。
该属性是只读的,但可使用以下方法修改它。 ①add(class1,class2,...) ②remove(class1,class2,...) ③toggle(class,true|false) ④item(index) ⑤contain(class)
4.line-height
http://cssreference.io/property/line-height/
①line-height行高:两行文字间基线(base line)的距离。 ②line-height: normal; ③line-height: 1.6;--- the line height will be relative to the font size. ④line-height: 30px; ⑤line-height: 0.8em;--- the line height will be relative to the font size.
相关文章推荐
- C#程序员整理的Unity 3D笔记(二十):2D Toolkit之官方教程《Whack a Mole》
- JavaScript 打地鼠游戏代码说明
- android小项目打地鼠(三)
- 一个简单的打地鼠游戏
- POJ-3034 Whac-a-Mole 动态规划
- 我的第一个HTML5游戏——打地鼠具体…
- poj 3034 Whac-a-Mole
- 【SDOI 2011】打地鼠
- 如何使用cocos2d-x3.0制作一个打地鼠的游戏:第二部分
- BZOJ 2241([SDOI2011]打地鼠-二分判断+贪心)
- 2DToolkit官方文档中文版打地鼠教程(三):Sprite Collections 精灵集合
- bzoj2241【sdoi2011】打地鼠
- 威威猫系列故事——打地鼠(简单Dp填数)
- MoleHill Getting Started AGAL(转)
- 【bzoj2241】【sdoi2011】【打地鼠】【暴力】
- 【bzoj2241】[SDOI2011]打地鼠 暴力+乱搞
- 打地鼠
- bzoj 2241 打地鼠 模拟
- [SDOI2011]打地鼠
- poj3034--Whac-a-Mole(dp)