From 73dc916d5aac4beaa333a4d10cb285ebb61634ad Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Sat, 21 May 2022 20:56:26 -0500 Subject: [PATCH] Add animation to :target --- assets/css/bobastyle.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 41512ea..59814ca 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -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; }