Aohanah commited on
Commit
25f1b3d
1 Parent(s): 64fb338

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -1
index.html CHANGED
@@ -18,11 +18,12 @@
18
  .btn {
19
  display: inline-block;
20
  margin: 10px;
21
- padding: 10px 50px; /* 修改按钮的宽度 */
22
  background-color: #00B4F4;
23
  color: #fff;
24
  text-decoration: none;
25
  border-radius: 5px;
 
26
  }
27
  .btn:hover {
28
  background-color: #008CBA;
 
18
  .btn {
19
  display: inline-block;
20
  margin: 10px;
21
+ padding: 10px 20px; /* 调整内边距以适应固定宽度的按钮 */
22
  background-color: #00B4F4;
23
  color: #fff;
24
  text-decoration: none;
25
  border-radius: 5px;
26
+ width: 200px; /* 设置按钮的固定宽度 */
27
  }
28
  .btn:hover {
29
  background-color: #008CBA;