This commit is contained in:
CakeCN
2025-01-01 01:43:28 +08:00
parent 1280a978f5
commit eb67bcfb70
115 changed files with 989 additions and 535 deletions

View File

@@ -9,7 +9,6 @@
body {
font-family: 'Arial', sans-serif;
background-color: #f5f5f5;
padding: 20px;
}
/* 页眉导航栏 */
@@ -18,7 +17,6 @@ body {
justify-content: space-between;
align-items: center;
background-color: #2575fc;
padding: 10px 30px;
color: white;
border-radius: 10px;
margin-bottom: 30px;
@@ -74,14 +72,27 @@ body {
.course-card {
width: 300px;
height: 500px;
display: flex;
flex-direction: column;
background-color: white;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
overflow: hidden;
position: relative;
transition: transform 0.3s;
}
.select-button {
display: block;
width: 100%;
padding: 10px;
background-color: #2575fc;
color: white;
border: none;
cursor: pointer;
font-size: 16px;
margin-top: auto; /* 将按钮推到父元素的底部 */
}
.course-card:hover {
transform: translateY(-10px); /* 提升效果 */
}