add :focus for accessibility

This commit is contained in:
Brittany Chiang
2017-02-09 22:43:56 -05:00
parent 9750776529
commit ef95ae957f
11 changed files with 16 additions and 14 deletions

View File

@@ -11,7 +11,7 @@
@include MQ(M) {
display: block;
}
&:hover {
&:hover, &:focus {
opacity: 0.7;
}
&.active {
@@ -155,7 +155,7 @@
&:after {
transition: width 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
&:hover {
&:hover, &:focus {
&:before,
&:after {
width: 105%;