Commit f05b08a2dcba3207bc312b2ed013d1832d59a782
1 parent
0ac239eb
样式优化
Showing
1 changed file
with
1 additions
and
1 deletions
src/pages/index/index.less
| @@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
| 12 | height: 730px; | 12 | height: 730px; |
| 13 | background: #bd3325 url("../../../static/img/index/2.jpg") no-repeat center top; | 13 | background: #bd3325 url("../../../static/img/index/2.jpg") no-repeat center top; |
| 14 | background-size: 100%; | 14 | background-size: 100%; |
| 15 | - display: inline-block; | 15 | + overflow: hidden; |
| 16 | div:nth-child(1){ | 16 | div:nth-child(1){ |
| 17 | width: 670px; | 17 | width: 670px; |
| 18 | height: 270px; | 18 | height: 270px; |