圖標(biāo)顯示不對呀可以幫我看看嗎
.big li a{
? ?height: 30px;
? ?line-height: 30px;
? ?text-align: left;
? ?padding-left: 8px;
? ?text-decoration: none;
? ?color: #313131;
? ?background: url("../imsges/1.jpg")no-repeat right center;
.big li a{
? ?height: 30px;
? ?line-height: 30px;
? ?text-align: left;
? ?padding-left: 8px;
? ?text-decoration: none;
? ?color: #313131;
? ?background: url("../imsges/1.jpg")no-repeat right center;
2017-07-07
舉報
2018-10-04
a標(biāo)簽里三角拿出來
2018-06-20
你把三角圖片寫在了<a>標(biāo)簽了.
應(yīng)該寫在li標(biāo)簽
2017-08-12
?background: url("../imsges/1.jpg")no-repeat right center;為啥要加上center?這樣加上去已經(jīng)沖突了好么
建議你還是老老實實寫好點:
1、入門
background-image:url(http://img1.sycdn.imooc.com//5411027300014f0200220030.jpg);
background-repeat:no-repeat;
background-position:right;
2、有基礎(chǔ)的
background:url(http://img1.sycdn.imooc.com//5411027300014f0200220030.jpg) no-repeat right;
2017-07-07
body{font-size: 14px; font-family: "Microsoft YaHei";}
*{margin: 0;padding: 0;}
.big{
? ?border: solid 3px #c9394a;
? ?display: block;
? ?width: 220px;
}
.product{
? ?height: 40px;
? ?line-height: 40px;
? ?background: #c9394a;
? ?color: #fff;
? ?text-align: left;
? ?padding-left: 20px;
? ?font-weight: bold;
} ?}
.big li{
? ?list-style: none;
? ?z-index: 3;
}
.big li a{
? ?height: 30px;
? ?line-height: 30px;
? ?text-align: left;
? ?padding-left: 8px;
? ?text-decoration: none;
? ?color: #313131;
? ?background: url("../imsges/1.jpg")no-repeat right center;
}
.big li a:hover{
? ?text-decoration: none;
? ?color: #c9394a;
? ?font-weight: bold;
}
(big是一個大框架的div product是全部商品的div)