.service dt{ text-align: left; font-size: 24px; border-bottom: 1px solid #999; padding-bottom: 10px; margin-bottom: 40px; } .service dd{ margin-bottom: 40px; padding-bottom: 40px; } .service dd h3{ margin-bottom: 10px; } .service dd:hover{ background: #f5f5f5; } .service dd img{ transition: all 0.6s; width: 100%; } .service dd:hover img{ transform: scale(1.1); } #service_top { border-bottom: solid 1px #999; padding-bottom: 10px; margin-top: 50px; } #service_top h2{ font-size: 24px; } #service_banner{ margin-top: 30px; margin-bottom: 20px; width: 100%; height: 300px; background: url(../images/bg.jpg); background-size: 100% 100%; } #service_banner img{ height: 100%; float: left; margin-left: 100px; } #service_banner #banner-text{ float: right; margin-right: 30px; text-align: right; margin-top: 100px; } #service_banner #banner-text h3{ font-size: 28px; margin-bottom: 10px; } .ly_product{ line-height: 1.8; text-align: left; } .product_use h2, .product_camp h2{ font-weight: lighter; padding-bottom: 10px; border-bottom: solid 1px #999; text-align: left; margin-top: 80px; font-size: 24px; } .product_use ul{ margin-bottom: 100px; text-align: left; } .product_use li{ margin: 0; width: 12%; display: inline-block; text-align: center; } .product_use li img{ margin-top: 50px; margin-bottom: 10px; } .product_camp ul { text-align: left; margin-top: 30px; margin-bottom: 100px; } .product_camp ul li{ margin-bottom: 10px; } .product_camp ul li label{ width: 8em; text-align: right; margin-bottom: 0px; line-height: 1.8; } .product_camp ul li span{ display: inline-block; width: 20em; margin-left: 2em; vertical-align: top; line-height: 1.8; } /*手机端 -----------------------------------------------------*/ @media (max-width: 500px) { #products{ padding:0 5%; } .service dt { font-size: 1.3em; } .service dd { margin-bottom: 40px; padding-bottom: 0px; width: 50%; float: left; } .service dd h3 { margin-bottom: 10px; margin-top: 0.2em; font-size: 1.1em; } #service_top { border-bottom: solid 1px #999; margin-top: 20px; padding:0 5% 10px 5%; width: 100%; } #service_banner{ margin-top: 0px; margin-bottom: 20px; width: 100%; height: auto; background: none; } #service_banner img{ height: auto; width: 100%; float: none; margin-left: 0px; background: url(../images/bg1.jpg); background-size: 100% 100%; } #service_banner #banner-text{ width: 100%; float: none; margin-right: 30px; text-align: center; margin-top: 10px; } #service_banner #banner-text h3{ font-size: 24px; margin-bottom: 10px; } .ly_product { line-height: 1.8; text-align: left; padding: 0 5%; } #service_top h2 { font-size: 1.4em; } .product_use h2, .product_camp h2 { font-weight: lighter; padding:0 5% 10px 5%; border-bottom: solid 1px #999; text-align: left; margin-top: 50px; font-size: 1.4em; } .product_use ul { display:block; margin-bottom: 0px; text-align: left; padding: 0 5%; } .product_camp ul { text-align: left; margin-top: 30px; margin-bottom: 50px; } .product_use li { width: 25%; display: inline-block; margin-right: -4px; text-align:center; } .product_use li img { margin-top: 20px; margin-bottom: 10px; width: 70%; } .product_use li p { width: 5em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: auto; } .product_camp ul { text-align: left; margin-top: 30px; margin-bottom: 30px; } .product_camp ul li label { width: 30%; } .product_camp ul li span { display: inline-block; width: 20em; margin-left: 5%; vertical-align: top; line-height: 1.8; width: 60%; } }