亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

我是這樣寫,有問題么??會不會產生副作用

/*在此定義相關CSS樣式*/
.topList {
??? width:300px;
??? height:180px;
??? border:1px solid #E8E8E8;
??? margin:0 auto;
}

ul{
??? list-style-type: none;
??? padding: 0 5px 5px 5px;
??? font-size:12px;
}

?em{
??? width:20px;
??? height:16px;
??? text-align:center;
??? font-style:normal;
??? color:#333;
??? background:url("http://img1.sycdn.imooc.com//53cf0fa20001d3dc00200032.jpg") no-repeat ;
??? background-position:0 -16px;
??? display:block;
??? float:left;
}

.top em{
??? color:#FFF;
??? background:url(http://img1.sycdn.imooc.com//53cf0fa20001d3dc00200032.jpg) no-repeat top? center;
}

.topList a:link,.topList a:visited{
??? text-decoration: none;
?? ?color: #888;
}

.topList a:hover,.topList a:active{
??? text-decoration: none;
?? ?color: #F00;
}

正在回答

1 回答

background-position:0 -16px;

這里改為:

background-position:bottom center;

0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

我是這樣寫,有問題么??會不會產生副作用

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號