w3pop.com :: ÍøÂçѧԺ :: CSS :: CSS µ¥Î»
| µ¥Î» | ÃèÊö |
|---|---|
| % | percentage °Ù·Ö±È |
| in | inch Ó¢³ß |
| cm | centimeter ÀåÃ× |
| mm | millimeter ¹«Àå |
| em | one em is equal to the current font size of the current element Ïà¶Ô³¤¶Èµ¥Î»¡£Ïà¶ÔÓÚµ±Ç°¶ÔÏóÄÚÎı¾µÄ×ÖÌå³ß´ç |
| ex | one ex is the x-height of a font (x-height is usually about half the font-size) Ïà¶Ô³¤¶Èµ¥Î»¡£Ïà¶ÔÓÚ×Ö·û“x”µÄ¸ß¶È¡£´Ë¸ß¶Èͨ³£Îª×ÖÌå³ß´çµÄÒ»°ë¡£ |
| pt | point (1 pt is the same as 1/72 inch) ¾ø¶Ô³¤¶Èµ¥Î» (1ptµÈÓÚ 1/72Ó¢´ç) |
| pc | pica (1 pc is the same as 12 points) ¾ø¶Ô³¤¶Èµ¥Î»¡£ÅÉ¿¨£¨Pica£© |
| px | pixels (a dot on the computer screen) Ïà¶Ô³¤¶Èµ¥Î»¡£ÏñËØ£¨Pixel£© |
| µ¥Î» | ÃèÊö |
|---|---|
| color_name | A color name (e.g. red) ÑÕÉ«µÄÃû³Æ(±ÈÈç red) |
| rgb(x,x,x) | An RGB value (e.g. rgb(255,0,0)) RGBÖµ |
| rgb(x%, x%, x%) | An RGB percentage value (e.g. rgb(100%,0%,0%)) RGBÕ¼ÓаٷֱÈÖµ |
| #rrggbb | A HEX number (e.g. #ff0000) Ê®ÁùλÊý |
ÆÀÂÛ (0)
All