Skip to content

Commit

Permalink
Merge pull request react-bootstrap#1047 from react-bootstrap/add-doc-…
Browse files Browse the repository at this point in the history
…anchor-focus-style

Show anchor icons when links are focused as well as hovered
  • Loading branch information
AlexKVal committed Jul 23, 2015
2 parents 8379dad + 5cd1326 commit 381f616
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,14 @@ body {
left: -0.8em;
opacity: 0;
}

h1:hover .anchor-icon,
h1 a:focus .anchor-icon,
h2:hover .anchor-icon,
h2 a:focus .anchor-icon,
h3:hover .anchor-icon,
h4:hover .anchor-icon {
h3 a:focus .anchor-icon,
h4:hover .anchor-icon,
h4 a:focus .anchor-icon {
opacity: 0.5;
}

0 comments on commit 381f616

Please sign in to comment.