aboutsummaryrefslogtreecommitdiff
path: root/styles/keyframes.css
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2021-05-25 20:32:07 +0200
committerlonkaars <loek@pipeframe.xyz>2021-05-25 20:32:07 +0200
commit45a4cda8d9d5b205804216b9089918f1718b96f4 (patch)
tree13aaa81a3d8724a7c3bc926c10e267af41a309dd /styles/keyframes.css
parent4562c60cf284a97ae1fa861480b0916f5fb7c453 (diff)
keyframe placement :tada:
Diffstat (limited to 'styles/keyframes.css')
-rw-r--r--styles/keyframes.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/styles/keyframes.css b/styles/keyframes.css
index 8a4f06f..4d9f472 100644
--- a/styles/keyframes.css
+++ b/styles/keyframes.css
@@ -44,5 +44,15 @@
fill: currentColor;
}
+.keyframe .background,
+.keyframe .outline {
+ opacity: 1;
+ transition-property: opacity;
+ transition-duration: 200ms;
+}
+
.keyframe.ghost .background { opacity: .2; }
.keyframe.ghost .outline { opacity: .7; }
+
+#ghost { transform: translate(-16px, -16px); }
+