From 1fe290837e32b014a5fddce70b0b3a1008599888 Mon Sep 17 00:00:00 2001 From: hendr-ik Date: Tue, 16 Jan 2024 21:34:04 +0100 Subject: [PATCH] svg animation test --- website/theme/static/css/styles.css | 14 ++++++++++++++ website/theme/templates/index.html | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/website/theme/static/css/styles.css b/website/theme/static/css/styles.css index cd1f13a..cd413a8 100644 --- a/website/theme/static/css/styles.css +++ b/website/theme/static/css/styles.css @@ -116,3 +116,17 @@ IMAGES .imageCrop { object-fit: none; } + +/* --------------------------------------------------- +ANIMATION +----------------------------------------------------*/ +.circle-orange { + animation: hideshow 2s ease infinite; +} +@keyframes hideshow { + 0% { opacity: 1; } + 40% { opacity: 1; } + 50% { opacity: 0; } + 90% { opacity: 0; } + 100% { opacity: 1; } +} diff --git a/website/theme/templates/index.html b/website/theme/templates/index.html index 30655cb..bdb9872 100644 --- a/website/theme/templates/index.html +++ b/website/theme/templates/index.html @@ -79,7 +79,11 @@
- pattern +
+ + + +