diff --git a/site/theme/static/home.less b/site/theme/static/home.less index c2d0100807..feeb618662 100644 --- a/site/theme/static/home.less +++ b/site/theme/static/home.less @@ -81,6 +81,7 @@ color: rgba(255, 255, 255, .75); left: 50%; margin-left: -7px; + animation: upDownMove 1.2s ease-in-out infinite alternate; } .page { @@ -164,3 +165,9 @@ line-height: 28px; color: #999; } + +@keyframes upDownMove { + to { + transform: translateY(10px); + } +} diff --git a/site/theme/template/Home/Banner.jsx b/site/theme/template/Home/Banner.jsx index f644b29afe..d7d4bb864d 100644 --- a/site/theme/template/Home/Banner.jsx +++ b/site/theme/template/Home/Banner.jsx @@ -20,7 +20,11 @@ export default function Banner({ location, onEnterChange }) { const isZhCN = utils.isZhCN(location.pathname); return (
-