2017年4月4日
摘要: 阅读全文
posted @ 2017-04-04 02:24 Aarondm 阅读(96) 评论(0) 推荐(0) 编辑
  2017年3月26日
摘要: https://li-xinyang.gitbooks.io/frontend-notebook/chapter4/02_layout.html 前端开发笔记本 https://segmentfault.com/a/1190000002804472 github上值得关注的项目 https://se 阅读全文
posted @ 2017-03-26 23:57 Aarondm 阅读(120) 评论(0) 推荐(0) 编辑
摘要: @charset "UTF-8"; html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; } body { margin: 0; font-size: 14... 阅读全文
posted @ 2017-03-26 11:03 Aarondm 阅读(110) 评论(0) 推荐(0) 编辑
摘要: /** * * fixScreen 方法根据两种情况适配,该方法自动执行。 * 1. 定宽: 对应 meta 标签写法 -- 在这个js之上 * 该方法会提取 width 值,主动添加 scale 相关属性值。 * 注意: 如果 meta 标签中指定了 initial-s... 阅读全文
posted @ 2017-03-26 10:34 Aarondm 阅读(805) 评论(0) 推荐(0) 编辑
  2017年3月25日
摘要: 移动端页面: 适配,适应各个不同的设备,如果是纯粹的移动端页面的话不用去考虑ipad,PC。 浏览器,微信(朋友圈),QQ(内置浏览器),UC 小米,华为会有部分兼容问题。 响应式: 必须共享一套html结构,样式不同而已,通过设备的分辨率来自动去切换样式 只适用于简单页面:博客,新闻,简单的公司门 阅读全文
posted @ 2017-03-25 22:15 Aarondm 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 作用是:为了能够使得不同分辨率的不同浏览器用户提供适合浏览环境的图片大小的解决方案,之前的解决方案是@media 1.image-set用在css背景图上如: .box{ background-image:url(icon.png) 0 0 no-repeat; background-image:- 阅读全文
posted @ 2017-03-25 19:04 Aarondm 阅读(192) 评论(0) 推荐(0) 编辑
  2017年3月24日
摘要: 第一步:创建一个git仓库 cd到你本地目录下,如果安装了git 就右键git bash here 1.git init 会出现一个.git文件夹说明ok了 第二步:将项目的文件添加到仓库 2.git add 文件名 第三步:将add的文件添加到仓库 3.git commit -m "注释语句" 第 阅读全文
posted @ 2017-03-24 12:27 Aarondm 阅读(93) 评论(0) 推荐(0) 编辑