2015年12月15日

摘要: 使用bower来管理前端的通用依赖库安装bower全局安装bower$npm install bower -g安装bootstrap到项目nodejs-bower$ bower install bootstrap查看项目中已导入的类库$ bower list删除bootstrap库,破坏依赖关系$ ... 阅读全文
posted @ 2015-12-15 22:32 liuyong1855 阅读(168) 评论(0) 推荐(0) 编辑

2015年12月14日

摘要: 在开发nodejs程序,调试的时候,无论你修改了代码的哪一部分,都需要重启服务才能生效,supervisor 可以帮助你实现这个功能,它会监视你对代码的改动,并自动重启 Node.js。supervisor的安装也很简单:直接用npm安装既可,键入命令: npm -g install supervi... 阅读全文
posted @ 2015-12-14 15:21 liuyong1855 阅读(94) 评论(0) 推荐(0) 编辑

2013年8月12日

摘要: http://kingphp.blog.163.com/blog/static/200423244201241972847260/ 阅读全文
posted @ 2013-08-12 14:24 liuyong1855 阅读(96) 评论(0) 推荐(0) 编辑

2013年7月22日

摘要: http://www.slipjs.com/ 阅读全文
posted @ 2013-07-22 15:09 liuyong1855 阅读(126) 评论(0) 推荐(0) 编辑

2013年6月18日

摘要: 个别手机浏览器默认值可能不统一/* 全站改版样式表 */body,div,p,ul,ol,li,table,tbody,tr,td,textarea,form,input,h1,h2,h3,h4,h5,dl,dt,dd,img,iframe,figure { margin: 0; padding: 0; font-size: 12px; list-style: none; border: none;}header,nav,section,article,footer,figure,figcaption { display:block;} 阅读全文
posted @ 2013-06-18 10:22 liuyong1855 阅读(480) 评论(0) 推荐(0) 编辑

2013年6月4日

摘要: 笔记 阅读全文
posted @ 2013-06-04 13:56 liuyong1855 阅读(239) 评论(0) 推荐(0) 编辑

2013年5月29日

摘要: bootstraphttp://wrongwaycn.github.io/bootstrap/docs/index.html 阅读全文
posted @ 2013-05-29 14:44 liuyong1855 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://html5gallery.com/ 站点1.<article> 标签定义外部的内容。比如来自一个外部的新闻提供者的一篇新的文章,或者来自 blog 的文本,或者是来自论坛的文本。亦或是来自其他外部源内容29.<section> 标签定义文档中的节(section)。比如章节、页眉、页脚或文档中的其他部分。2.<aside> 标签定义 article 以外的内容。aside 的内容应该与 article 的内容相关。3.<audio> 标签定义声音,比如音乐或其他音频流。4.<b> 标签定义粗体的文本。<b> 阅读全文
posted @ 2013-05-29 14:39 liuyong1855 阅读(177) 评论(0) 推荐(0) 编辑
摘要: http://www.css88.com/archives/category/xhtmlcss/html5css3 阅读全文
posted @ 2013-05-29 14:29 liuyong1855 阅读(267) 评论(0) 推荐(0) 编辑

2013年5月27日

摘要: -webkit-mask蒙板-webkit-text-stroke文字边框-webkit-tap-highlight-color这个属性只用于iOS (iPhone和iPad)。当你点击一个链接或者通过Javascript定义的可点击元素的时候,它就会出现一个半透明的灰色背景。要重设这个表现,你可以设置-webkit-tap-highlight-color为任何颜色。想要禁用这个高亮,设置颜色的alpha值为0即可。zoom: reset页面上的其它元素在用户放大页面的时候都会跟着放大-webkit-text-size-adjust:none;设置该属性的元素内的文字不会被放大/缩小,但是页面 阅读全文
posted @ 2013-05-27 17:20 liuyong1855 阅读(433) 评论(0) 推荐(0) 编辑

导航