mirror of
https://github.com/danbulant/design
synced 2026-06-24 17:11:43 +00:00
Add focus highlight
This commit is contained in:
parent
8ad900e33c
commit
4df5b6a12e
1 changed files with 3 additions and 3 deletions
|
|
@ -53,16 +53,16 @@
|
||||||
transition: width .3s, border-radius .3s, background-color .3s;
|
transition: width .3s, border-radius .3s, background-color .3s;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
.outline:hover::before {
|
.outline:hover::before, .outline:focus::before {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #e0a500;
|
background-color: #e0a500;
|
||||||
}
|
}
|
||||||
a:hover, button:hover {
|
a:hover, a:focus, button:hover, button:focus {
|
||||||
background-color: #e0a500;
|
background-color: #e0a500;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
box-shadow: 0 0 3px black;
|
box-shadow: 0 0 3px black;
|
||||||
}
|
}
|
||||||
a.outline:hover, button.outline:hover {
|
a.outline:hover, a.outline:focus, button.outline:hover, button.focus:hover {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in a new issue