摘要: if(event && event.stopPropagation) { event.stopPropagation();//现代浏览器 } else { event.cancelBubble = true;//低版本浏览器 } 阅读全文
posted @ 2016-12-23 16:17 ifIhaveWings 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 视口是红色线包围的部分 阅读全文
posted @ 2016-12-23 15:05 ifIhaveWings 阅读(722) 评论(0) 推荐(0) 编辑
摘要: 1.webstorm : a.字符编码方便 b.功能强大 2. sublime text: a.cssrem工具是必须要有的。 3.notepad++: a.字符编码方便 b.fingertext是必须的 阅读全文
posted @ 2016-12-23 14:36 ifIhaveWings 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 案例如下: 阅读全文
posted @ 2016-12-23 10:28 ifIhaveWings 阅读(154) 评论(0) 推荐(0) 编辑