Prev | Current Page 306 | Next

Charles Wyke-Smith

"Stylin' with CSS: A Designer's Guide 2nd Edition"

5 8 2
:hover Adds special style to an element when you
mouse over it
4 1 7 1
:link Adds special style to an unvisited link 3 1 4 1
:visited Adds special style to a visited link 3 1 4 1
:?¬? rst-child Adds special style to an element that is the
?¬? rst child of some other element
- 1 7 2
:lang Allows the author to specify a language to
use in a speci?¬? ed element
- 1 8 2
PSEUDO-ELEMENTS
PSEUDO-ELEMENT PURPOSE IE F N W3C
:?¬? rst-letter Adds special style to the ?¬? rst letter of a text 5 1 8 1
:?¬? rst-line Adds special style to the ?¬? rst line of a text 5 1 8 1
:before Inserts some content before an element 1.5 8 2
:after Inserts some content after an element 1.5 8 2
MEDIA TYPES
MEDIA TYPE* DESCRIPTION
all Used for all media type devices
aural Used for speech and sound synthesizers
braille Used for Braille tactile feedback devices
embossed Used for paged Braille printers
handheld Used for small or handheld devices
print Used for printers
projection Used for projected presentations, like slides
screen Used for computer screens
tty Used for media using a ?¬? xed-pitch character grid, like teletypes and terminals
tv Used for television-type devices
* Used as the media attribute of the link tag or with the @media attribute. See @media examples at:
http://w3schools.com/css/css_mediatypes.asp
The tables in these Appendices were reproduced by permission from W3 Schools, an award-winning and free e-learning site for Web
developers (www.


Pages:
294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318