Skip to content

Commit

Permalink
Switch to outline:0 for accesible focus treatment. Avoids Opera bug w…
Browse files Browse the repository at this point in the history
…hen combined with transitions. Also saves bytes.
  • Loading branch information
necolas committed Jun 14, 2011
1 parent dab7d7e commit bc1b720
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ html { overflow-y: scroll; -webkit-text-size-adjust:100%; -ms-text-size-adjust:1


/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }
a:hover, a:active { outline: 0; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }
Expand Down Expand Up @@ -242,4 +242,4 @@ a:link { -webkit-tap-highlight-color: #FF5E99; } /* j.mp/webkit-tap-highlight-co
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3 { page-break-after: avoid; }
}
}

0 comments on commit bc1b720

Please sign in to comment.