2017年4月19日

摘要: <style lang="stylus" scoped> @import "../css/base/variables.styl" .is-empty padding-top 50px text-align center .header-wrap position fixed top 0 width 阅读全文
posted @ 2017-04-19 18:15 鹿晓晓 阅读(287) 评论(0) 推荐(0) 编辑
 
摘要: <style lang="stylus" scoped> @import "../css/base/variables.styl" @import "../css/mixins/index.styl" .header-wrap box-shadow 0 0 1px rgba(0, 0, 0, 0.2 阅读全文
posted @ 2017-04-19 18:14 鹿晓晓 阅读(321) 评论(0) 推荐(0) 编辑
 
摘要: <style lang="stylus" scoped> @import "../css/base/variables.styl" .photo-checkbox position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; .c 阅读全文
posted @ 2017-04-19 18:14 鹿晓晓 阅读(216) 评论(0) 推荐(0) 编辑
 

2017年4月13日

摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script> <style> .container { 阅读全文
posted @ 2017-04-13 22:14 鹿晓晓 阅读(164) 评论(0) 推荐(0) 编辑
 
摘要: <!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> <script src="https://cdn.bootcss.com/vue/2.2.2/vue.min.js"></script> <style> li { list-st 阅读全文
posted @ 2017-04-13 22:14 鹿晓晓 阅读(129) 评论(0) 推荐(0) 编辑
 
摘要: 1 + '2' //"12" var a = 5 || null || undefined || 'Lumin'a5var a = 5 && 'Lumin'undefineda"Lumin"{} == {}false{name:1} == {name:1}false[1] == [1]falseva 阅读全文
posted @ 2017-04-13 16:10 鹿晓晓 阅读(324) 评论(0) 推荐(0) 编辑
 

2017年3月20日

摘要: @charset "utf-8"; /* CSS Document */ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form, fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; } table { border-collapse:co... 阅读全文
posted @ 2017-03-20 16:29 鹿晓晓 阅读(201) 评论(0) 推荐(0) 编辑
 
摘要: 1.ie7中a标签的宽高与其父元素li不一样(现在浏览器中宽高是默认一样的) 方法:给a标签设置固定的宽、高 2.ie6以下对除了a之外的元素的hover不起作用等兼容问题 方法: 3.检测ie6版本 4. 阅读全文
posted @ 2017-03-20 15:54 鹿晓晓 阅读(261) 评论(0) 推荐(0) 编辑
 

2017年3月15日

摘要: 版本回退 ```bash# git rm --cached <file># 恢复暂存区的指定文件到工作区$ git checkout [file] # 恢复某个commit的指定文件到暂存区和工作区$ git checkout [commit] [file] # 恢复暂存区的所有文件到工作区$ gi 阅读全文
posted @ 2017-03-15 10:22 鹿晓晓 阅读(157) 评论(0) 推荐(0) 编辑
 

2017年3月14日

摘要: 1.Javascript不是一种模块化编程语言,它不支持"类"(class),更不用说"模块"(module)了(es6支持类和模块化) AMD(异步执行) 是 RequireJS 在推广过程中对模块定义的规范化产出。CMD (同步执行)是 SeaJS 在推广过程中对模块定义的规范化产出。 都是为了 阅读全文
posted @ 2017-03-14 10:47 鹿晓晓 阅读(2464) 评论(0) 推荐(0) 编辑