diff options
author | crupest <crupest@outlook.com> | 2023-07-18 17:03:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-07-18 17:03:46 +0800 |
commit | 4dfe8bdbb6405eede0eda2422417d9353ddf7747 (patch) | |
tree | 8bf4a35c543dac2e8cd1bd30728cd9f1855a346e /docker/crupest-nginx/sites/www/src/style.css | |
parent | bc845e54167018065ffc11c9df64711344625f0c (diff) | |
download | crupest-4dfe8bdbb6405eede0eda2422417d9353ddf7747.tar.gz crupest-4dfe8bdbb6405eede0eda2422417d9353ddf7747.tar.bz2 crupest-4dfe8bdbb6405eede0eda2422417d9353ddf7747.zip |
Fix #23.
Diffstat (limited to 'docker/crupest-nginx/sites/www/src/style.css')
-rw-r--r-- | docker/crupest-nginx/sites/www/src/style.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docker/crupest-nginx/sites/www/src/style.css b/docker/crupest-nginx/sites/www/src/style.css index 2dbf0fb..f23bbc0 100644 --- a/docker/crupest-nginx/sites/www/src/style.css +++ b/docker/crupest-nginx/sites/www/src/style.css @@ -6,11 +6,23 @@ body { width: 100%; margin: 0; box-sizing: border-box; - transition: padding-top 1s; +} + +@keyframes article-enter { + from { + opacity: 0; + transform: translateY(100px); + } + + to { + opacity: 1; + transform: translateY(0); + } } #main-article { padding: 0 1em; + animation: article-enter 1s; } @media (min-width: 576px) { |