posts - 148,  comments - 4,  views - 15万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

随笔分类 -  css初始化

rem初始化
摘要:使用css实现rem适配,头部引入即可 adaptive.js body { max-width: 6.4rem; min-width: 3.2rem;} 阅读全文
posted @ 2018-01-29 09:53 执候 阅读(312) 评论(0) 推荐(0) 编辑
PC初始化
摘要:@charset "utf-8"; /* CSS Document */ html{width:100%;font-size:62.5%;} body{font-size: 12px;color: #999;font-family: "Microsoft yahei", "微软雅黑", Helvetica, sans-serif, Arial;background-color:#fff;} *{... 阅读全文
posted @ 2018-01-29 09:48 执候 阅读(208) 评论(0) 推荐(0) 编辑
移动端初始化
摘要:/** * Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/) * http://cssreset.com */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a,... 阅读全文
posted @ 2018-01-29 09:42 执候 阅读(380) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示