![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
QuestionsAndAnswers
文章平均质量分 64
kimmmmqin
种一棵树,最好的时间是十年前,其次是现在。
展开
-
无法清除计数器?
练习贪吃蛇小游戏时,清除计时器让蛇停止运动出现bug?function startAndPause() { if(pauseGameBool) { if(!startGameBool) { startGame(); startGameBool = true; } else { continueGame(); } // if(!continueGameBool &...原创 2018-05-08 21:25:05 · 352 阅读 · 0 评论 -
elem.style.left得不到left的值
<!DOCTYPE html><html><head> <title></title> <style type="text/css"> #div { width: 50px; height: 50px; background: red; position: absolute;原创 2018-05-08 22:55:56 · 722 阅读 · 1 评论