*{ margin: 0; padding: 0; } li{ list-style: none; } a{ text-decoration: none; color: #000; } .bodys{ min-width: 1200px; font-size: 16px; overflow: hidden; } /*banner*/ .banner{ width: 100%; height: 100%; } .banner-img{ width: 100%; margin: auto; } /*产品中心*/ .product{ width: 80%; margin: auto; } .title{ width: 200px; margin: 50px auto 30px; text-align: center; font-size: 28px; } .product-con{ width: 100%; overflow: hidden; } .product-con > div{ float: left; } .Modular{ width: 23.5%; height: 300px; margin-right: 2%; margin-top: 20px; } .Modular:nth-child(4n){ margin-right: 0; } .Modular-img{ width: 100%; height: 200px; display: flex; justify-content: center; } .Modular-con{ width: 80%; height: 80px; margin: 10px auto; } .Modular-con-title{ font-size: 22px; } .Modular-con-introduce{ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 8px; } .new-arrival{ width: 100%; font-size: 14px; color: #ccc; text-align: right; }