给li设置了外边框,但是我想去掉其中某个的外边框的问题?
<!doctype html> <html lang="en"><head> <meta charset="UTF-8"> <meta name="Generator" content="EditPlus®"> <meta name="Author" content=""> <meta name="Keywords" content=""> <meta name="Description" content=""> <title>Document</title> <style> *{margin:0; padding:0;} body{font-size:12px; background:#f1f1f1;} .sp{width:1200px; margin:50px auto 0; padding-top:15px; background:#fff; overflow:hidden;} .sp h2{text-align:center;} .sp>p{text-align:center; line-height:20px; color:#999;} .sp lu{} .sp li{float:left; width:224px; height:304px; padding-right:10px; list-style:none; background:#f5f5f5;} li img {width:224px; height:224px; } li.abc{padding-right:none;} </style></head><body> <div class="sp"> <h2>猜你喜欢</h2> <p>实时推荐最合适你的宝贝</p> <ul> <li> <a href="#"> <img src="t1.jpg" alt=""> <p>厂家直销新大洲款嘉陵本田茜茜公主踏板摩托125燃油助力车上牌</p> <p><em>¥2450</em><span>销量:16</span></p> </a> </li> <li> <a href="#"> <img src="t2.jpg" alt=""> <p>厂家直销新大洲款嘉陵本田茜茜公主踏板摩托125燃油助力车上牌</p> <p><em>¥2450</em><span>销量:16</span></p> </a> </li> <li&g优艾设计网_PS问答t; <a href="#"> <img src="t3.jpg" alt=""> <p>厂家直销新大洲款嘉陵本田茜茜公主踏板摩托125燃油助力车上牌</p> <p><em>¥2450</em><span>销量:16</span></p> </a> </li> <li> <a href="#"> <img src="t4.jpg" alt=""> <p>厂家直销新大洲款嘉陵本田茜茜公主踏板摩托125燃油助力车上牌</p> <p><em>¥2450</em><span>销量:16</span></p> </a> </li> <li class="abc"> <a href="#"> <img src="t5.jpg" alt=""> <p>厂家直销新大洲款嘉陵本田茜茜公主踏板摩托125燃油助力车上牌</p> <p><em>¥2450</em><span>销量:16</span></p> </a> </li> </ul> </div></body> </html>
God神游 优艾设计网_在线设计 13小时前
li.abc{padding-right:0px !important;}
精彩评论