Skip to content

Commit

Permalink
Update 05.CSS 的值与单位.md
Browse files Browse the repository at this point in the history
  • Loading branch information
twhy authored Jun 27, 2017
1 parent f7fb881 commit ef20471
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CSS/05.CSS 的值与单位.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* rem `1rem` = 根元素的字体大小。IE8 及以下不支持 rem,但可通过 [polyfill](https://github.com/chuckcarpenter/REM-unit-polyfill) 支持。
```css
html {
font-size: 10px; /* font-size: 62.5%; */
 font-size: 10px; /* 不建议设置 font-size: 62.5%; 在 IE 9-11 上有偏差,具体表现为 1rem = 9.93px。 */
}

.sqaure {
Expand Down Expand Up @@ -136,5 +136,6 @@ width: calc(90% - 15px);
```

## 参考链接
* http://laifh.com/blog/post/125
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
* https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Values_and_units

0 comments on commit ef20471

Please sign in to comment.