Skip to content

Commit

Permalink
Specificity bump for tertiary buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
csswizardry committed Jul 12, 2016
1 parent 407b34d commit 4d72361
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion css/components/_components.buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,15 @@

}


/**
* 1. Artificially increase specificity to combat leaky `.band--* a {}` rules.
*/

.c-btn--tertiary {
background-color: $color-btn-tertiary-bg;

&#{&},
&#{&}, /* [1] */
&:hover,
&:active,
&:focus {
Expand Down
3 changes: 3 additions & 0 deletions css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d72361

Please sign in to comment.