上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页
摘要: 下载地址 https://github.com/amfe/lib-flexible /* 最多不超过 750 */ @media screen and (min-width:750px) { html { font-size: 75px !important; } } 阅读全文
posted @ 2020-05-26 20:47 EricBlog 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-26 18:29 EricBlog 阅读(286) 评论(0) 推荐(0) 编辑
摘要: $ npm install -g less // 定义一个粉色的变量 @color:deeppink; // 定义一个字体为14像素的变量 @font14:14px; body { background-color: @color; } div { color: @color; font-size: 阅读全文
posted @ 2020-05-26 17:52 EricBlog 阅读(94) 评论(0) 推荐(0) 编辑
摘要: /* 在屏幕上 最大的宽度是800像素 设置想要的样式 */ /* max-width 小于等于800 */ @media screen and (max-width: 800px) { body { background-color: pink; } } @media screen and (ma 阅读全文
posted @ 2020-05-26 16:21 EricBlog 阅读(349) 评论(0) 推荐(0) 编辑
摘要: div { width: 600px; height: 200px; /* 背景渐变必须添加浏览器私有前缀 */ /* background: -webkit-linear-gradient(left, red, blue); */ /* background: -webkit-linear-gra 阅读全文
posted @ 2020-05-26 12:48 EricBlog 阅读(135) 评论(0) 推荐(0) 编辑
摘要: body { max-width: 540px; min-width: 320px; margin: 0 auto; font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdane, "Microsoft Yahei", STXihei, hei; co 阅读全文
posted @ 2020-05-26 09:17 EricBlog 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-25 18:21 EricBlog 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 移动端css 配置文件 http://necolas.github.io/normalize.css/ 阅读全文
posted @ 2020-05-25 09:06 EricBlog 阅读(897) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-22 18:31 EricBlog 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-05-22 18:29 EricBlog 阅读(244) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 35 下一页