untitled

(John Hannent) #1
You see the implications. You can use HTML event attributes — such as
onclick, onmouseover, onchange, onkeypress, onfocusand so on —
to trigger changes to the CSS styles. You could drop paragraphs or lists

Figure 16-2:
After
you hover
your mouse
over the
headline,
it changes
color and
the text
increases
to a more
legible size.

Figure 16-1:
The original
appearance
of the page,
with a black
headline
and small
text in the
paragraph.

286 Part IV: Advanced CSS Techniques

Free download pdf