上一页 1 ··· 4 5 6 7 8 9 10 下一页

2017年11月27日

css之文本效果

摘要: //模糊文本 .blur { color: transparent; text-shadow: 0 0 5px rgba(0,0,0,0.5); }//文本渐变 h2[data-text] { position: relative; } h2[data-text]::after { content: attr(data-text); z-index: 10; color: ... 阅读全文

posted @ 2017-11-27 15:58 木之子梦之蝶 阅读(136) 评论(0) 推荐(0) 编辑

css之禁用鼠标

摘要: //禁用鼠标事件 .disabled { pointer-events: none; } 阅读全文

posted @ 2017-11-27 15:57 木之子梦之蝶 阅读(240) 评论(0) 推荐(0) 编辑

css之所有一切都垂直居中

摘要: //要将所有元素垂直居中,太简单了: html, body { height: 100%; margin: 0; } body { -webkit-align-items: center; -ms-flex-align: center; align-items: center; display: -webkit-flex; display: flex; } ... 阅读全文

posted @ 2017-11-27 15:50 木之子梦之蝶 阅读(153) 评论(0) 推荐(0) 编辑

css之页面顶部阴影

摘要: body:before { content: ""; position: fixed; top: -10px; left: 0; width: 100%; height: 10px; -webkit-box-shadow: 0px 0px 10px rg... 阅读全文

posted @ 2017-11-27 15:47 木之子梦之蝶 阅读(2194) 评论(0) 推荐(0) 编辑

css之使用 :not() 在菜单上应用/取消应用边框

摘要: // add border先给每一个菜单项添加边框 .nav li { border-right: 1px solid #666; } // remove border……然后再除去最后一个元素…… .nav li:last-child { border-right: none; } //可以直接使用 :not() 伪类来应用元素: .nav li:not(:last... 阅读全文

posted @ 2017-11-27 15:46 木之子梦之蝶 阅读(189) 评论(0) 推荐(0) 编辑

CSS之黑白图像

摘要: img.desaturate { filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); } 阅读全文

posted @ 2017-11-27 15:42 木之子梦之蝶 阅读(121) 评论(0) 推荐(0) 编辑

AMD/CMD规范

摘要: 暂时先不写 阅读全文

posted @ 2017-11-27 13:47 木之子梦之蝶 阅读(107) 评论(0) 推荐(0) 编辑

HTTP学习笔记

摘要: 1 定义:(HTTP,HyperText Transfer Protocol)即超文本传输协议 (1)是互联网上应用最为广泛的一种网络协议。 (2)所有的WWW文件都必须遵守这个标准。 (3)设计HTTP最初的目的是为了提供一种发布和接收HTML页面的方法 一、HTTP方法和对应操作 (四种操作方法 阅读全文

posted @ 2017-11-27 13:17 木之子梦之蝶 阅读(104) 评论(0) 推荐(0) 编辑

MUI之ajax获取后台接口数据

摘要: mui.plusReady(function() { getToDoNum(); }); function getToDoNum(){ mui.ajax("接口地址", { data: { task_tenantId:"f0fd6e1f-cf85-11e7-98b1-fa163e00... 阅读全文

posted @ 2017-11-27 11:15 木之子梦之蝶 阅读(6137) 评论(0) 推荐(0) 编辑

2017年11月23日

Git提交代码规范

摘要: Commit message 的格式 Git 每次提交代码,都要写 Commit message(提交说明),否则就不允许提交。 用commit message最好是能有规范和工具的约束。 每次提交,Commit message 都包括三个部分:header,body 和 footer。 其中,he 阅读全文

posted @ 2017-11-23 15:41 木之子梦之蝶 阅读(7166) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 下一页

导航