diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-08-27 19:45:47 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-08-27 19:45:47 +0200 |
| commit | 8b90b431126525bc1b63a6315abe19ec294b1889 (patch) | |
| tree | ea6a616d9cf8840495bb0b9e8c06b84400028761 /webAO/styles | |
| parent | 3b1051e0717e0c82b98d345e33892894032a5e7e (diff) | |
| parent | 3c15b3bb517feba40083865a2574ec1d04bb2108 (diff) | |
Merge branch 'css-rain'
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..846b35e --- /dev/null +++ b/webAO/styles/effects/rain.css @@ -0,0 +1,23 @@ +#client_fg { + overflow: hidden; +} + +#client_fg p { + position: absolute; + bottom: 100%; + width: 2px; + height: 2em; + 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 |
