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

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

為什么右下方的圖片顯示不出來,背景圖片怎么變成紅色

<!DOCTYPE html>

<html>

<head>?

<meta charset="utf-8">

<title>多重背景</title>

<style type="text/css">

.demo{

? ? width: 300px;

? ? height: 140px;

? ? border: 1px solid #999;

? ??

? ? background-image: url(http://img1.sycdn.imooc.com//54cf2365000140e600740095.jpg),

? ? ? ? ? ? ? ? ? ? ? url(http://img1.sycdn.imooc.com//54cf238a0001728d00740095.jpg),

? ? ? ? ? ? ? ? ? ? ? url(http://img1.sycdn.imooc.com//54cf23b60001fd9700740096.jpg);

? ? background-position: left top, 100px 0, 200px 0;

? ? background-repeat: no-repeat, no-repeat, no-repeat;

? ??

? ? margin:0 0 20px 0;

}

.task {

? ? width: 300px;

? ? height: 140px;

? ? border: 1px solid #999;

? ??

? ? background:url(http://static.mukewang.com/static/img/logo_index.png) no-repeat ?left top/200px 70px ;?

? ? ? ? ? ? ? ?url(http://static.mukewang.com/static/img/logo_index.png) no-repeat , right bottom/150px 70px;

? ??

? ? background-repeat: no-repeat, ?no-repeat;

? ??

? ? //margin:0 0 20px 0;

? ? ? ? ? ? ? ?

}



</style> ?

</head>?

<body>

<div class="demo"></div>

<div class="task"></div>

</body>

</html>


正在回答

2 回答

樓上正解,? 逗號只能用來分開多個backgroundimg,不能做別的用。分號只能最后用。圖片不能變成紅色背景那個只是展示圖片

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

背景圖標(biāo)是這樣的 改不了的,

然后你把https://img1.sycdn.imooc.com//5c51427e0001372908740195.jpg改成逗號就行了

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

qq_慕工程6380821

no-repeat后面的逗號都不能要
2020-06-03 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

為什么右下方的圖片顯示不出來,背景圖片怎么變成紅色

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

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

幫助反饋 APP下載

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

公眾號

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