@winman-f2e/fsize
Advanced tools
+23
| # Change Log | ||
| All notable changes to this project will be documented in this file. | ||
| See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
| <a name="0.0.6"></a> | ||
| ## [0.0.6](http://g.hz.netease.com:22222/winman-f2e/common-libs/compare/@winman-f2e/fsize@0.0.4...@winman-f2e/fsize@0.0.6) (2018-04-13) | ||
| ### Bug Fixes | ||
| * reset.css ([211ebf2](http://g.hz.netease.com:22222/winman-f2e/common-libs/commits/211ebf2)) | ||
| <a name="0.0.5"></a> | ||
| ## 0.0.5 (2018-04-03) | ||
| ### Bug Fixes | ||
| * fsize ([ecb0e9d](http://g.hz.netease.com:22222/winman-f2e/common-libs/commits/ecb0e9d)) |
+1
-1
@@ -1,1 +0,1 @@ | ||
| body,html{height:100%}html{-webkit-box-sizing:border-box;box-sizing:border-box;overflow:auto;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:50px}body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Helvetica","Arial",sans-serif;font-size:12px;line-height:1.5;color:#4a4a4a;background-color:#fff}html[data-dpr] body{max-width:750px;margin:0 auto}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}h1,h2,h3,h4,h5,h6{margin:0;font-weight:500;line-height:1.5}hr,ol,p,table,ul{margin:0;padding:0}button,input,select,textarea{border:0;outline:0;margin:0;padding:0;font:inherit;color:inherit;line-height:normal}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}ul{list-style:none}img{border:0;max-width:100%;vertical-align:middle}a{text-decoration:none} | ||
| body,html{height:100%;overflow:auto}html{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;font-size:50px}body{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue","Helvetica","Arial",sans-serif;font-size:12px;line-height:1.5;color:#4a4a4a;background-color:#fff;margin:0 auto}[data-dpr="1"] body{max-width:750px}[data-dpr="2"] body{max-width:1500px}[data-dpr="3"] body{max-width:2250px}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}h1,h2,h3,h4,h5,h6{margin:0;font-weight:500;line-height:1.5}hr,ol,p,table,ul{margin:0;padding:0}button,input,select,textarea{border:0;outline:0;margin:0;padding:0;font:inherit;color:inherit;line-height:normal}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}ul{list-style:none}img{border:0;max-width:100%;vertical-align:middle}a{text-decoration:none} |
+5
-2
| { | ||
| "name": "@winman-f2e/fsize", | ||
| "version": "0.0.4", | ||
| "version": "0.0.6", | ||
| "description": "A library project created by fle-cli.", | ||
| "main": "lib/index.js", | ||
| "module": "lib/index.esm.js", | ||
| "keywords": [], | ||
| "keywords": [ | ||
| "flexible", | ||
| "rem" | ||
| ], | ||
| "author": "huangancheng <huangancheng@corp.netease.com>", | ||
| "license": "MIT" | ||
| } |
+11
-2
@@ -18,9 +18,18 @@ html { | ||
| height: 100%; | ||
| margin: 0 auto; | ||
| overflow: auto; | ||
| } | ||
| html[data-dpr] body { | ||
| [data-dpr="1"] body { | ||
| max-width: 750px; | ||
| margin: 0 auto; | ||
| } | ||
| [data-dpr="2"] body { | ||
| max-width: 1500px; | ||
| } | ||
| [data-dpr="3"] body { | ||
| max-width: 2250px; | ||
| } | ||
| *, | ||
@@ -27,0 +36,0 @@ *:before, |
6775
13.43%8
14.29%169
4.32%