fix: properly transition box shadow

This commit is contained in:
2022-08-07 20:25:25 -04:00
parent f32e36ea75
commit 0985ae85f9
2 changed files with 14 additions and 4 deletions

View File

@@ -64,7 +64,12 @@ main {
}
footer {
--footer-drop-color: lightgray;
transition: background 0.2s ease;
box-shadow: 0 -0.05rem 0.75rem 0 lightgray;
box-shadow: 0 -0.05rem 0.75rem 0 var(--footer-drop-color);
}
html.dark footer {
--footer-drop-color: black;
}
</style>