摘要: express API: http://expressjs.com/en/api.htmlMongodb: http://mongodb.github.io/node-mongodb-native/contents.html 阅读全文
posted @ 2015-12-11 20:35 踏浪拾小贝 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 在开发时如果修改了js内容,不能通过刷新浏览器直接看到效果,必须通过重启nodejs程序才能看到,这样显然不利于开发调试,supervisor可以实现这个功能,监视对代码的改动,并自动重启nodejs,使用npm安装supervisor,如果使用的是Linux或Mac,直接键入可能会有权限错误,可以... 阅读全文
posted @ 2015-11-05 16:11 踏浪拾小贝 阅读(260) 评论(0) 推荐(0) 编辑
摘要: bootstrap按钮对应链接:http://v3.bootcss.com/css/#buttons使用时添加基础类class:btn默认样式class=btn-default,控制大小class=btn-(lg | sm | xs),没有btn-md,默认即为中等大小一些简单的demo以及demo... 阅读全文
posted @ 2015-11-01 11:16 踏浪拾小贝 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 预定义样式分为五种:primary(首选项)、success(成功)、info(一般信息)、warning(警告)、danger(危险),demo如下,设置不同的class展示不同的样式 无标题文档 ... 阅读全文
posted @ 2015-10-31 22:12 踏浪拾小贝 阅读(578) 评论(0) 推荐(0) 编辑
摘要: bootstrap字体图标http://v3.bootcss.com/components/ 无标题文档 View Code上面demo的显示如下如何把你的图标转换为W... 阅读全文
posted @ 2015-10-31 21:34 踏浪拾小贝 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 控制是否显示:visible-(lg | md | sm |sx)-(block | inline | inline-block), hidden-(lg | md | sm |sx) 无标题文档 ... 阅读全文
posted @ 2015-10-31 20:41 踏浪拾小贝 阅读(176) 评论(0) 推荐(0) 编辑
摘要: bootstrap资源http://getbootstrap.comhttp://github.com/twbshttp://www.bootcss.combootstrap栅格系统容器:流体(container-fluid)、固定(container)分12列,阈值 分辨率>=1200,conta... 阅读全文
posted @ 2015-10-31 11:57 踏浪拾小贝 阅读(331) 评论(0) 推荐(0) 编辑
摘要: animation关键帧——keyframes关键帧的时间单位 数字: 0% 25% 100%等字符: from(0%)、 to(100%)格式: @keyframes 动画名称 { 动画状态}demo1如下 若不写0% 和 100%,则默认都为初始设置的,demo如下 ... 阅读全文
posted @ 2015-10-17 11:08 踏浪拾小贝 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 3D变换和动画建立3D空间,transform-style: preserve-3dperspective: 100px; 景深perspective-origin:center center -180px; 景深基点transform新增函数如下:rotateX();rotateY();rotat... 阅读全文
posted @ 2015-10-17 10:17 踏浪拾小贝 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 旋转函数rotate(),deg表示度数,transform-origin表示旋转的基点 无标题文档 111斜切,将矩形等形状扭曲,skewX(100deg),skrewY(30deg),以及x方向和y方向都斜切skew(15deg, 30deg) 无标题文档 ... 阅读全文
posted @ 2015-10-12 16:50 踏浪拾小贝 阅读(311) 评论(0) 推荐(0) 编辑