Skip to content

Commit

Permalink
Update focus/hover style for link-button
Browse files Browse the repository at this point in the history
To match the default browser style
  • Loading branch information
mdvorscak committed Jan 31, 2020
1 parent 46369c3 commit ffcfc61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/rules/anchor-is-valid.md
Expand Up @@ -118,9 +118,8 @@ Then use styling to change its appearance to that of a link:
padding: 0;
}

.link-button:hover,
.link-button:focus {
text-decoration: none;
text-decoration: thin dotted;
}
```

Expand Down Expand Up @@ -221,4 +220,4 @@ Invalid `href` attribute:
<a href="javascript:void(0)" />
<a href={"javascript:void(0)"} />
<a href={`javascript:void(0)`} />
```
```

0 comments on commit ffcfc61

Please sign in to comment.