diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-08-26 19:16:04 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-08-26 19:16:04 +0200 |
| commit | e849b2af16e381af15676283bf884457fa8e36d5 (patch) | |
| tree | f34dd0742425da85fee54ea07f62048b2bee7232 /webAO/styles | |
| parent | 21170e1935e34f36d2fd4268468414e8caf84627 (diff) | |
add rain effect
Diffstat (limited to 'webAO/styles')
| -rw-r--r-- | webAO/styles/effects/rain.css | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/webAO/styles/effects/rain.css b/webAO/styles/effects/rain.css new file mode 100644 index 0000000..0e350fa --- /dev/null +++ b/webAO/styles/effects/rain.css @@ -0,0 +1,23 @@ +#client_fg { + overflow: hidden; +} + +#client_fg p { + position: absolute; + bottom: 100%; + width: 1px; + height: 1em; + transform: rotate(10deg); + background: linear-gradient(rgba(200,200,200,0) 0%, rgba(200,200,200,0.5) 20%, rgba(250,250,250,0.6) 100%); + animation: falling 1s linear infinite; +} + +@keyframes falling { + 0% { + bottom: 100%; + + } + 100% { + bottom: -10%; + } +}
\ No newline at end of file |
