上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 69 下一页
摘要: /***** Selector Hacks ******/ /* IE6 and below */ * html #uno { color: red } /* IE7 */ *:first-child+html #dos { color: red } /* IE7, FF, Saf, Opera * 阅读全文
posted @ 2016-03-01 21:13 zyip 阅读(157) 评论(0) 推荐(0) 编辑
摘要: <div id="fixed">Sidebar</div> <div id="fluid">Content</div> #fixed, #fluid{ padding:20px; margin-left:2px; margin-right:2px; } #fixed { float:left; wi 阅读全文
posted @ 2016-02-20 21:33 zyip 阅读(188) 评论(0) 推荐(0) 编辑
摘要: <div id="wrapper"> <div id="col1"> "fixed" </div> <div id="col2"> "fluid" </div> </div> #wrapper{background:red;float:left;width:90%;height:200px;padd 阅读全文
posted @ 2016-02-20 21:23 zyip 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 该代码可在chrome下运行,对于低版本浏览器可以引入Q库 function async1() { var defer = Promise.defer() setTimeout(function(){ defer.resolve('async1') }, 1300); return defer.pr 阅读全文
posted @ 2016-02-19 17:09 zyip 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 可以把以下代码复制到html文件中用chrome执行,或者用nodejs执行 function async1(chain) { setTimeout(function(){ chain.next('async1') //2.恢复async1的等待 }, 1300); } function async 阅读全文
posted @ 2016-02-19 16:35 zyip 阅读(809) 评论(0) 推荐(0) 编辑
摘要: Some times you will need a mechanism to check whether changes to network occurring during running your application.So as a solution for this you can a 阅读全文
posted @ 2016-02-16 13:12 zyip 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://browniefed.com/blog/2015/09/10/the-shapes-of-react-native/ 阅读全文
posted @ 2016-02-09 09:29 zyip 阅读(111) 评论(0) 推荐(0) 编辑
摘要: https://christianalfoni.github.io/react-webpack-cookbook/index.html https://fakefish.github.io/react-webpack-cookbook/ 阅读全文
posted @ 2016-02-03 08:09 zyip 阅读(190) 评论(0) 推荐(0) 编辑
摘要: http://fredrik.appelberg.me/2010/05/07/aop-js/Aop = { // Apply around advice to all matching functions in the given namespaces around: function(poin... 阅读全文
posted @ 2016-01-08 14:03 zyip 阅读(202) 评论(0) 推荐(0) 编辑
摘要: http://engineering.flipboard.com/2015/02/mobile-web/ 阅读全文
posted @ 2015-12-28 00:23 zyip 阅读(369) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 69 下一页