Pseudo-class: Focus

Support Key: CSS2
Other CSS Pseudo-Classes
first-child
link
visited
active
hover
lang
= Index DOT Css by Brian Wilson [bloo@blooberry.com] =
Main Index | Property Index | CSS Support History | Browser History



   Quick Statistics   
Applicable Elements:
Not defined
HTML Equivalent:
<tag ONFOCUS="function()">
What is it?
The Focus Pseudo-class is activated when the current element content box becomes the recipient of keystroke events and ends when it no longer accepts them.
Example
Ext/Doc: a:focus img { border: thin solid green }
In-Line:  NA
Browser Peculiarities

Boring Copyright Stuff....