上一页 1 ··· 6 7 8 9 10 11 12 13 下一页
摘要: 1. String(3>>1).repeat(100); //66666666.。。。。 阅读全文
posted @ 2018-04-10 16:49 大耳朵小虎 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.) vconsole 阅读全文
posted @ 2018-04-10 15:56 大耳朵小虎 阅读(1046) 评论(0) 推荐(0) 编辑
摘要: 1.) http://momentjs.com npm install moment 处理日期时间减去16小时 现在的时间字符串减去10个小时: moment(2014/02/23, 'YYYY-MM-DD').subtract(10, 'hours').format('YYYY-MM-DD') 阅读全文
posted @ 2018-03-23 14:58 大耳朵小虎 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.) ~ 操作符 console.log(~-2) // 1 console.log(~-1) // 0 console.log(~0) // -1 console.log(~1) // -2 console.log(~2) // -3 console.log(~"a") // -1 consol 阅读全文
posted @ 2018-03-15 16:11 大耳朵小虎 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1. CSS) 2. JS) 阅读全文
posted @ 2018-03-14 11:42 大耳朵小虎 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 如果给按钮定义 :hover 样式,在 iPhone 上按钮点击一次是 hover 态,再点击一次 hover 态才会消失,这不是我们想要的,继而想通过定义 :active 样式来实现按钮按下时的效果,但定义的 active 样式在 iPhone 上点击时没有任何效果 只需添加一段 js 即可: d 阅读全文
posted @ 2018-03-13 16:22 大耳朵小虎 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 可通过使用css伪类实现点击元素变色的效果,两个伪类是:active, :focus :active :active选择器用于选择活动链接。当在一个链接上点击时,它就会成为活动的(激活的),:active选择器适用于所有元素,不仅限于链接a元素 :focus :focus 选择器用于选取获得焦点的元 阅读全文
posted @ 2018-03-08 15:21 大耳朵小虎 阅读(128) 评论(0) 推荐(0) 编辑
摘要: http://fontstore.baidu.com/static/editor/index.html?qq-pf-to=pcqq.group 阅读全文
posted @ 2018-03-02 16:56 大耳朵小虎 阅读(87) 评论(0) 推荐(0) 编辑
摘要: griddle-react react-bootstrap react-cropper core-js Material UI superagent restful-error-es6 browserify react-select-popover 标签选择 react-infinite-scrol 阅读全文
posted @ 2018-03-02 12:23 大耳朵小虎 阅读(212) 评论(0) 推荐(0) 编辑
摘要: function randomWord ( randomFlag,min,max ) { var str = " ", range = min, arr = ['0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f']; //随机 阅读全文
posted @ 2018-02-27 10:32 大耳朵小虎 阅读(1180) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 下一页