Skip to content

Commit 2d66879

Browse files
committed
style: 修改按钮布局为横向,居中对齐并调整间距
1 parent c445ff1 commit 2d66879

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,13 @@
5353
list-style: none;
5454
padding: 0;
5555
margin: 0;
56+
display: flex; /* 改为横向排布 */
57+
justify-content: center; /* 居中对齐 */
58+
gap: 30px; /* 按钮之间的间距 */
5659
animation: fadeInUp 1s ease-in-out;
5760
}
5861
li {
59-
margin-bottom: 30px;
62+
margin-bottom: 0; /* 移除垂直间距 */
6063
}
6164
a {
6265
color: #fff;

0 commit comments

Comments
 (0)