Keywords as Values


Keywords are not units of measure, but some have connotations of being relative. In this case, they have the same advantage as relative units and percentages in that they can be scaled. For example, the keywords bolder and lighter for the font-weight property are clearly relative: They are relative to the font weight of the parent. The same applies to larger and smaller for the font-size property, which we get to next.



Cascading Style Sheets(c) Designing for the Web
Cascading Style Sheets: Designing for the Web (3rd Edition)
ISBN: 0321193121
EAN: 2147483647
Year: 2003
Pages: 215

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net