摘要: 安装sublime server 插件包 1.Ctrl + shift + p install package sublimeServer 2.git cd to your Sublime packages folder, don't know where is it? Open Sublime a 阅读全文
posted @ 2016-08-05 14:37 lhy031 阅读(4466) 评论(2) 推荐(1) 编辑
摘要: 1.过滤器: filters: { search(list) { es5 var _self = this; //return list.filter(menu => menu.childs.name.join("").indexOf(this.searchVal) > -1); return li 阅读全文
posted @ 2016-08-05 14:34 lhy031 阅读(3519) 评论(1) 推荐(1) 编辑
摘要: 一,sublime 下载一个版本,替换packages,要想shift command p管用,得在sublime里面control ~,然后把 import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8 阅读全文
posted @ 2016-08-05 14:28 lhy031 阅读(636) 评论(1) 推荐(0) 编辑
摘要: 一 什么是sass sass是一种css开发工具。提供了很多便利的写法,使得css开发变得简单 易维护 sass有两种后缀名文件:一种后缀名为sass,不使用大括号和分号;另一种就是我们这里使用的scss文件,这种和我们平时写的css文件格式差不多,使用大括号和分号,所以一般都是用第二种写法 二 官 阅读全文
posted @ 2016-05-09 11:39 lhy031 阅读(2460) 评论(0) 推荐(0) 编辑
摘要: SVG中的use元素: 1.可重复使用 <svg> <defs> <g id="shape"> <rect x="0" y="0" width="50" height="50" /> <circle cx="0" cy="0" r="50" /> </g> </defs> <use xlink:hr 阅读全文
posted @ 2016-05-09 10:37 lhy031 阅读(341) 评论(0) 推荐(0) 编辑
摘要: CSS 规范 命名规范 使用类选择器,尽量避免使用ID选择器定义样式 ID在一个页面中的唯一性导致了如果以 ID 为选择器来写 CSS,就无法重用。 以字母开头 必须以字母开头命名选择器,这样可保证在所有浏览器下都能兼容。 不允许单个字母的类选择器出现。 不允许命名带有广告等英文的单词,例如 ad, 阅读全文
posted @ 2016-05-05 11:06 lhy031 阅读(280) 评论(0) 推荐(0) 编辑