上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 67 下一页
摘要: let isMobile = function(){ let userAgentInfo = navigator.userAgent; let Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod") let f... 阅读全文
posted @ 2016-09-30 09:22 贝尔塔猫 阅读(227) 评论(0) 推荐(0)
摘要: 无论是 <button type="button" onclick="console.log('123');">123</button> 还是 <a href="#" onclick="console.log('123');">测试链接</a> 在点击并且触发完事件后,当我们继续按下enter键时。 阅读全文
posted @ 2016-09-27 14:26 贝尔塔猫 阅读(825) 评论(0) 推荐(0)
摘要: var wrap=document.createElement("div"); var first=document.body.firstChild;//得到页面的第一个元素 var wraphtml=document.body.insertBefore(wrap,first); 阅读全文
posted @ 2016-09-27 10:35 贝尔塔猫 阅读(9147) 评论(0) 推荐(0)
摘要: http://zccst.iteye.com/blog/2194229 获取用户的联网状态 监听事件 阅读全文
posted @ 2016-09-23 12:26 贝尔塔猫 阅读(3291) 评论(1) 推荐(0)
摘要: package.json server.js —— 类似express构建http服务 阅读全文
posted @ 2016-09-20 22:12 贝尔塔猫 阅读(432) 评论(0) 推荐(0)
摘要: mongodb传送门: 下载后默认是在:C:\Program Files\MongoDB\Server\3.2\bin 进入bin目录,使用以下命令开启数据库服务(需要先创建E:\MongoDB_Path) $ ./mongod --dbpath "E:\MongoDB_Path" 此时界面会停在2 阅读全文
posted @ 2016-09-19 17:35 贝尔塔猫 阅读(427) 评论(0) 推荐(0)
摘要: vue-clickoutside 点击元素以外的东西时会触发的事件。好东西。其实可以利用全局event来判断当前点击的对象来判断也一样。但这个显然更舒服 传送门:https://www.npmjs.com/package/vue-clickoutside request-promise reques 阅读全文
posted @ 2016-09-12 12:22 贝尔塔猫 阅读(387) 评论(0) 推荐(0)
摘要: 制作高大上背景颜色 阅读全文
posted @ 2016-09-08 01:48 贝尔塔猫 阅读(5282) 评论(0) 推荐(0)
摘要: css 秘密花园 http://dabblet.com/gist/d9f243ddd7dbffa341a4 场景,背景图片 + 毛玻璃遮盖 原理:利用background的cover特性,将毛玻璃的区域和大背景的区域一致,然后再加上 filter: blur(5px); 进行模糊,之后还得加上mar 阅读全文
posted @ 2016-09-04 21:48 贝尔塔猫 阅读(532) 评论(0) 推荐(0)
摘要: 推荐阅读第三方文章: 引入: require / import 导出:export / module.exports / exports Nodejs 不支持 import 和 export es6 兼容以上所有语法,当然需要 webpack + babel 来支撑 尽管es6兼容以上所有语法,但需 阅读全文
posted @ 2016-09-03 00:35 贝尔塔猫 阅读(13229) 评论(0) 推荐(2)
上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 67 下一页