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

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

怎么通過父容器,改變圖像顯示的大小,

<!doctype html>

<html>

<head>

? ? <meta charset="UTF-8">

<title>圖像</title>

<link rel="stylesheet" >

</head>

<body>

<div class="container">

? <div class="row">

? ? <div class="col-sm-4">

? ? ? <img? ?alt="140x140" src="http://placehold.it/140x140">

? ? ? ? <div>默認圖片</div>

? ? </div>

? ? <div class="col-sm-4">

? ? ? <img? class="img-rounded" alt="140x140" src="http://placehold.it/140x140">?

? ? ? ? <div>圓角圖片</div>

? ? </div>

? ? <div class="col-sm-4">

? ? ? <img? class="img-circle" alt="140x140" src="http://placehold.it/140x140">

? ? ? ? <div>圓形圖片</div>

? ? </div>

? ? ? <div class="row">

? ? ? ? <div class="col-sm-6">

? ? ? ? ? <img? class="img-thumbnail" alt="140x140" src="http://placehold.it/140x140">?

? ? ? ? ? ? <div>縮略圖</div>

? ? ? ? </div>

? ? ? ? <div class="col-sm-6" style="width: 1000px;height: 1000px;">? ? //我在這里都加了父容器的大小,但是感覺圖像大小沒變化啊????

? ? ? ? ? <img? class="img-responsive" alt="140x140" src="http://placehold.it/140x140" />?

? ? ? ? ? <div>響應(yīng)式圖片</div>

? ? ? ? </div>

? ? ? </div>

? </div>

</div>?

</body>

</html>


正在回答

1 回答

看看你引入的CSS文件生效沒? 查看圖片元素看看.img-responsive這個class有沒有css屬性

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

舉報

0/150
提交
取消

怎么通過父容器,改變圖像顯示的大小,

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

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

幫助反饋 APP下載

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

公眾號

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