diff --git a/templates/default_v2/index.html b/templates/default_v2/index.html index 5dff04c..8d22e94 100644 --- a/templates/default_v2/index.html +++ b/templates/default_v2/index.html @@ -178,8 +178,16 @@ display: flex; transition: transform 0.5s ease; height: 100%; + /* 以下为动画效果 */ + opacity: 0; /* 初始透明 */ + animation: fadeIn 1s ease-in forwards; } + @keyframes fadeIn { + from { opacity: 0; } + to { opacity: 1; } + } + .carousel-item { min-width: 100%; height: 100%; @@ -326,6 +334,14 @@ #bbb { z-index: 3; } + #theshow { + transition: transform 0.5s ease; /* 平滑过渡效果 */ + } + + #theshow:hover { + transform: translateY(-10px); + /* 上浮10px */ + } @@ -659,7 +675,7 @@