摘要: 阅读全文
posted @ 2019-10-09 11:16 飞行者二鸭 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 浏览器内核 IE Trident firefox Gecko Safari Webkit Chrome/Opera Blink //Blink其实是Webkit的一个分支 前缀 -ms- 兼容IE浏览器 -moz- 兼容firefox -webkit- 兼容chrome 和 safari -o- 兼 阅读全文
posted @ 2019-10-09 10:50 飞行者二鸭 阅读(130) 评论(0) 推荐(0) 编辑
摘要: gbk中文 是gb2312的扩展 utf-8所有字符集 <table> <tr> <th></th> <th></th> </tr> <tr> <td></td> <td></td> </tr> </table> th 和td 都是一个格子 表格 align: left/center/right b 阅读全文
posted @ 2019-10-09 10:46 飞行者二鸭 阅读(125) 评论(0) 推荐(0) 编辑
摘要: https://juejin.im/post/5c6e5112e51d457f7b6c5c91 阅读全文
posted @ 2019-09-17 23:05 飞行者二鸭 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 在标签中的router-view不会被销毁 activated(){ console.log('来了'); }, deactivated(){ console.log('走了'); } 在better-scroll中 如何走了。有时没有记录到目前滚动到位置 scroll有一个属性y可以记录当前滚动到 阅读全文
posted @ 2019-08-18 09:46 飞行者二鸭 阅读(312) 评论(0) 推荐(0) 编辑
摘要: px转换rem插件 cssrem (vscode里) https://github.com/amfe/lib-flexible flexible默认是分成10份;所以1rem = 75px; 在pc端显示时,如果我们的屏幕超过了750px,就按照750设计稿走,不会让我们的页面超过750px @me 阅读全文
posted @ 2019-08-16 01:48 飞行者二鸭 阅读(698) 评论(0) 推荐(0) 编辑
摘要: @media screen and (max-width: 800px){ body { background-color: pink; } } @media screen and (max-width: 500px){ body { background-color: red; } } 小于800 阅读全文
posted @ 2019-08-15 19:30 飞行者二鸭 阅读(80) 评论(0) 推荐(0) 编辑