第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

這個(gè)位置怎么寫的呀,我這樣寫的,顯示空白

.task {

? ? width: 300px;

? ? height: 140px;

? ? border: 1px solid #999;

? ??

? ? background-image:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat,

? ? ? ? ? ? ? ?url(http://static.mukewang.com/static/img/logo_index.png) no-repeat;background-position:left top, 50px 50px, 100px 50px;

? ? ? ? ? ? ? ?

}


正在回答

4 回答

background-image屬性,不支持no-repeat標(biāo)簽。

解決方案:

1.background-image中在去掉no-repeat標(biāo)簽。

2.添加?

?background-repeat:no-repeat,no-repeat;
?background-position:left?top,right?bottom;
?background-size:220px?80px,150px?50px;

屬性

1 回復(fù) 有任何疑惑可以回復(fù)我~
#1

丶回

正解。
2018-09-27 回復(fù) 有任何疑惑可以回復(fù)我~

.task {

? ? width: 300px;

? ? height: 140px;

? ? border: 1px solid #999;

? ??

? ? background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat,?

? ? ? ? ? ? ? ?url(http://static.mukewang.com/static/img/logo_index.png) no-repeat;

? ? background-position:0 0,100% 100%;

? ? background-size:230px 80px,150px 55px;

? ? ? ? ? ? ? ?

}

也可以

0 回復(fù) 有任何疑惑可以回復(fù)我~

.task {
??? width: 300px;
??? height: 140px;
??? border: 1px solid #999;
?? ?
??? background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat,
?????????????? url(http://static.mukewang.com/static/img/logo_index.png) no-repeat;
???? background-repeat:no-repeat;
???? background-position:left top,right bottom;
???? background-size:220px 80px,150px 50px;

}


這節(jié)內(nèi)容前面沒有講到,這可能是課程錯(cuò)失。

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_美麗的曲線_03762593 提問者

不顯示啊
2016-08-05 回復(fù) 有任何疑惑可以回復(fù)我~
#2

qq_騎烏龜狂奔_03414967 回復(fù) qq_美麗的曲線_03762593 提問者

background-image:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat,你把background-image中的image去掉就可以顯示圖片了
2016-08-05 回復(fù) 有任何疑惑可以回復(fù)我~

background-position:left top, 50px 50px, 100px 50px;

定義了三組,但是? background-image只有兩組

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_美麗的曲線_03762593 提問者

刪除了一組,還是不顯示
2016-08-05 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

這個(gè)位置怎么寫的呀,我這樣寫的,顯示空白

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)