eonn-site

scripts and documents that generate eonn.xyz
git clone git://git.eonn.xyz/eonn-site.git
Log | Files | Refs

commit cadee9935d734d970f9d4871828eeeebcbe26585
parent 177677d2c52eec978259dabcd2f424e34111016b
Author: Ian Ressa <ian@eonn.xyz>
Date:   Sun, 15 May 2022 22:46:50 -0400

add background animation

Diffstat:
Msrc/styles.css | 14++++++++++++++
1 file changed, 14 insertions(+), 0 deletions(-)

diff --git a/src/styles.css b/src/styles.css @@ -15,6 +15,11 @@ body { background-color: #1d482c; background-image: url(images/background.jpg); font-size: 12px; + + -webkit-animation: scrolling 2s linear infinite; + -moz-animation: scrolling 2s linear infinite; + -o-animation: scrolling 2s linear infinite; + animation: scrolling 2s linear infinite; } .short { @@ -99,3 +104,12 @@ code{ background-color:#333333; padding:1px; } + +@keyframes scrolling{ + from{ + background-position: 0 0; + } + to{ + background-position: 128px 128px; + } +}