[enh] animate darkening of a:hover
This commit is contained in:
parent
00f015e635
commit
5f7147f0b6
@ -36,7 +36,15 @@ body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@keyframes darken {
|
||||
from {background-color: rgba(0, 0, 0, 0);}
|
||||
to {background-color: rgba(0, 0, 0, 0.3);}
|
||||
}
|
||||
|
||||
.gallery-square > a:hover {
|
||||
animation-name: darken;
|
||||
animation-duration: 0.15s;
|
||||
animation-iteration-count: 1;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user