<div class="des_detail clearfix"> <div class="score_list"> <h3>商品评价</h3> <div class="score fl"><span>4.7</span><i>分</i></div> <div class="score_bar"> <ul class="satisfy clearfix"> <li class="li01">非常不满意</li> <li class="li02">不满意</li> <li class="li03">一般</li> <li class="li04">满意</li> <li class="li05">非常满意</li> </ul> <div class="rec_num"> 4.7<i></i> </div> <br /> <p>共18939位慕课网友参与评分</p> </div> </div> </div>
.score_list h3{padding-left:10px;height:39px;line-height:39px;font-size:14px;font-family:"新宋体";color:#666666;} .des_detail{border:1px solid #CCC;background-color:#FFF;} .score span{font-size:50px;color:#FF8F00;} .score i{font-style:normal;color:#65657D;font-size:18px;} .satisfy{background-color:#BDBDBD;height:16px;float:left;margin-left:10px;width:450px;} .satisfy li{color:#FFF;font-family:"新宋体";float:left;} .satisfy .li01{width:114px;text-indent:26px;} .satisfy .li02{width:82px;} .satisfy .li03{width:76px;} .satisfy .li04{width:65px;}
商品评价那个满意度的横条,li左浮动之后为什么不能加个内边距?????
每个li左右方向加padding不就不用一个一个量长度了么?
一杯2块的奶茶
恒爷