Add animation to :target

This commit is contained in:
BBaoVanC 2022-05-21 20:56:26 -05:00
parent e8be3ae45b
commit 73dc916d5a
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -648,6 +648,13 @@ table.markdown {
color: var(--text-1);
}
:target {
animation: target-fade 10s ease-out;
}
@keyframes target-fade {
0% { background-color: var(--background-yellow-2); }
}
* {
box-sizing: border-box;
}