标签:
https://www.w3.org/TR/CSS22
1.
The following examples illustrate different value types:
Value: N | NW | NE
Value: [ <length> | thick | thin ]{1,4}
Value: [<family-name> , ]* <family-name>
Value: <uri>? <color> [ / <color> ]?
Value: <uri> || <color>
Value: inset? && [ <length>{2,4} && <color>? ]
2.The "point" unit is commonly used in print-based typography to indicate font sizes and other length values. It‘s an example of an absolute unit which does not scale relative to the environment.
3.
The "em" unit refers to the font size of the element. In this case the result is that the margins around the BODY element are three times wider than the font size.
4.
In fact, XML depends more on style sheets than HTML, since authors can make up their own elements that user agents do not know how to display.
5.px unit:
px unit:
标签:
原文地址:http://www.cnblogs.com/quan-quanquan/p/5741457.html