Commit a758251524e9c194bfabebd6bcedbdb4563419d8
1 parent
b05019aa
样式优化
Showing
2 changed files
with
7 additions
and
5 deletions
src/pages/index/index.less
| ... | ... | @@ -3,12 +3,14 @@ |
| 3 | 3 | height: 100vh; |
| 4 | 4 | background: url("../../../static/img/background.jpg") no-repeat center top; |
| 5 | 5 | background-size: 100%; |
| 6 | + overflow: hidden; | |
| 6 | 7 | .btn_box { |
| 7 | 8 | width: 670px; |
| 8 | 9 | height: 570px; |
| 9 | - position: fixed; | |
| 10 | - bottom: 193px; | |
| 11 | - left: 40px; | |
| 10 | + //position: fixed; | |
| 11 | + //bottom: 14s3px; | |
| 12 | + //left: 40px; | |
| 13 | + margin: 524px auto; | |
| 12 | 14 | div:first-child { |
| 13 | 15 | width: 100%; |
| 14 | 16 | height: 260px; | ... | ... |
src/pages/index/index.vue