diff options
| author | sD <stoned@derpymail.org> | 2020-04-26 17:23:45 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-04-26 17:23:45 +0200 |
| commit | 42e3b882752fd1a206cfbc201e9f5227a80b824a (patch) | |
| tree | 62fa3ff792d59449410891042f5ad9b40425f9ba /webAO/styles | |
| parent | b5e00f8acbec62def515714742d39ec67cc70028 (diff) | |
add css animation for objection bubble
Diffstat (limited to 'webAO/styles')
| -rw-r--r-- | webAO/styles/client.css | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/webAO/styles/client.css b/webAO/styles/client.css index cd00139..c40ea57 100644 --- a/webAO/styles/client.css +++ b/webAO/styles/client.css @@ -127,6 +127,75 @@ } } +@keyframes bubble { + + 0% { + left: 0; + top: 0; + opacity: 0; + } + + 10% { + left: 0; + top: 0; + opacity: 1; + } + + 20% { + left: -1%; + top: 0; + opacity: 1; + } + + 30% { + left: 1%; + top: 1%; + opacity: 1; + } + + 40% { + left: -1%; + top: -1%; + opacity: 1; + } + + 50% { + left: 1%; + top: 0; + opacity: 1; + } + + 60% { + left: -1%; + top: -1%; + opacity: 1; + } + + 70% { + left: 1%; + top: 0; + opacity: 1; + } + + 80% { + left: -1%; + top: 1%; + opacity: 1; + } + + 90% { + left: 0; + top: 0; + opacity: 1; + } + + 100% { + left: 0; + top: 0; + opacity: 1; + } +} + @keyframes flash { 0%, |
