header { position: relative; } .car_search { position: absolute; top: 25px; right: 0; width: 538px; height: 36px; border: 2px solid #b1191a; border-radius: 15px; } .car_search input { width: 454px; height: 32px; padding: 10px 0 10px 20px; border-radius: 15px; } .car_search button { position: absolute; font-size: 24px; color: rgb(0, 183, 255); top: 0; right: 0; width: 80px; height: 32px; border-left: 2px solid #b1191a; border-radius: 14px; } .car_search button:hover { color: rgb(0, 0, 190); } .car_nav { line-height: 32px; height: 32px; } .car_nav h1 { float: left; font-size: 16px; padding-left: 10px; color: #c81623; } .delivery_area { float: right; line-height: 32px; margin-right: 20px; } .shop_car_hd { height: 36px; line-height: 36px; margin-top: 2px; color: #333; background-color: #f5f5f5; } .all_select { float: left; height: 100%; width: 225px; padding-left: 10px; /* background-color: skyblue; */ } .all_select input { vertical-align: middle; } .all_select span { vertical-align: middle; } .goods { float: left; width: 360px; height: 100%; /* background-color: purple; */ } .prize { float: left; width: 168px; height: 100%; /* background-color: orange; */ } .unmber { float: left; width: 140px; height: 100%; /* background-color: pink; */ } .subtotal { float: left; width: 170px; height: 100%; /* background-color: green; */ } .opearte { float: left; width: 137px; height: 100%; /* background-color: blue; */ } .shop_car_bd { height: 32px; line-height: 32px; border-bottom: 2px solid #dddddd; padding-left: 10px; margin: 20px 0; } .shop_car_bd input { vertical-align: middle; } .shop_car_bd span { color: #fff; padding: 2px; background-color: #c81623; vertical-align: middle; } .my_goods ul li { position: relative; height: 106px; margin: 20px 0; /* background-color: skyblue; */ border: 1px solid #dddddd; } .my_goods ul li:nth-child(3) { background-color: #feedef; } .my_goods ul li input { position: absolute; left: 10px; top: 45px; } .my_goods ul li img { position: absolute; left: 45px; top: 11px; } .my_goods ul li .recommond { position: absolute; left: 142px; top: 22px; } .my_goods ul li .uit_price { position: absolute; left: 600px; top: 20px; } .my_goods ul li .num { position: absolute; top: 15px; right: 378px; width: 98px; height: 60px; /* background-color: pink; */ } .my_goods ul li .num .hd { height: 30px; line-height: 30px; text-align: center; } .my_goods ul li .num button { display: block; float: left; font-size: 20px; width: 30px; height: 30px; } .my_goods ul li .num .n { float: left; width: 38px; height: 30px; text-align: center; line-height: 30px; border: 1px solid #dddddd; } .my_goods ul li .num .you { padding-top: 5px; text-align: center; } .my_goods ul li .sub { position: absolute; right: 270px; top: 20px; } .my_goods ul li .operater { position: absolute; right: 62px; top: 20px; }