22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Value: all | [normal | bold | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 |<br />

900] [, [normal | bold | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 |<br />

900]]*<br />

Initial: all<br />

Media: visual<br />

This is the descriptor for the weight of a face relative to others in the same font<br />

family. It takes the same values as the ’font-weight’ property with three exceptions:<br />

1. relative keywords (bolder, lighter) are not permitted.<br />

2. a comma-separated list of values is permitted, for fonts that contain multiple<br />

weights.<br />

3. an additional keyword, ’all’ is permitted, which means that the font will match<br />

for all possible weights; either because it contains multiple weights, or<br />

because that face only has a single weight.<br />

’font-stretch’ (Descriptor)<br />

Value: all | [ normal | ultra-condensed | extra-condensed | condensed |<br />

semi-condensed | semi-expanded | expanded | extra-expanded |<br />

ultra-expanded ] [, [ normal | ultra-condensed | extra-condensed |<br />

condensed | semi-condensed | semi-expanded | expanded |<br />

extra-expanded | ultra-expanded] ]*<br />

Initial: normal<br />

Media: visual<br />

This is the CSS indication of the condensed or expanded nature of the face<br />

relative to others in the same font family. It takes the same values as the<br />

’font-stretch’ property except that:<br />

relative keywords (wider, narrower) are not permitted<br />

a comma-separated list is permitted<br />

The keyword ’all’ is permitted<br />

’font-size’ (Descriptor)<br />

Value: all | [, ]*<br />

Initial: all<br />

Media: visual<br />

This is the descriptor for the sizes provided by this font. Only absolute length<br />

[p. 43] units are permitted, in contrast to the ’font-size’ property, which allows<br />

both relative and absolute lengths and sizes. A comma-separated list of absolute<br />

lengths is permitted.<br />

The initial value of ’all’ is suitable for most scalable fonts, so this descriptor is<br />

primarily for use in an @font-face for bitmap fonts, or scalable fonts designed to<br />

be rasterised at a restricted range of font sizes.<br />

216

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!