pseudo class a:focus
Posted
by Les
on Stack Overflow
See other posts from Stack Overflow
or by Les
Published on 2010-03-20T07:20:25Z
Indexed on
2010/03/20
7:31 UTC
Read the original article
Hit count: 453
css-selectors
|css
Trying to find out more about css pseudo class a:focus Am trying to adapt some code. Have tried
a:focus img {border:2px solid rgb(155, 205, 255);}
and
a:focus img {background:rgb(155, 205, 255);}
Neither work. Yet
a:hover img {background:rgb(155, 205, 255);}
works fine on hover. Does anyone know what I've done wrong?
Les
© Stack Overflow or respective owner