日期：2016-7-16 22:13 | 标签： | 阅读：461
css notes take at 2016-07-16 in nan shan lib
- reader important
- author important
- author normal
- reader normal
- user agent declaration
- cm 2.54cm equals to 1 in
- pt mainly used for printer
- 1pc = 12pt
- px abosolute length
- em relative
right value usually count after left value if negative value setted, width may grow out of bound. pay attention to border margin value would not affect inline element but did affect its inline height
auto height works with border. it may result in weried effect. specially with margin and so on..
how weights work
- it may not directly mapped to the value, beacuse the browser may not support it that much!
- small caps
- font-size-ajust:the same font size result in different effect
- text-indent only apply to block element, if you want to use it for inline ele, you could use margin or padding as your friends, you can also use negative value. usually works fine with padding
- white-space:pre|normal|nowrap, pre would not ignore white-space
how about set width to a specific value?
96ppi reference pixels what is inlune elements what is run-in elements