修改切换按钮样式并添加基础动效
This commit is contained in:
1 parent
677f6270fe
commit
3f3abdcd66
3 files changed
+19
-10
No files matched your search
+13
-2
@@ -29,6 +29,17 @@
|
||||
transform: translateX(-50%);
|
||||
bottom: 120px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.swbutton {
|
||||
background-color: rgba(200, 200, 200, 0.1);
|
||||
backdrop-filter: blur(8px);
|
||||
-webkit-backdrop-filter: blur(8px);
|
||||
transition: background-color 1s ease, transform 0.5s ease;
|
||||
}
|
||||
|
||||
.swbutton:hover {
|
||||
background-color: rgba(200, 200, 200, 0.3);
|
||||
transform: scale(1.02); /* 可选的小缩放效果 */
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user