文章詳情頁(yè)
bootstrap怎么使圖片垂直居中?
瀏覽:102日期:2024-06-12 08:44:04
問(wèn)題描述
bootstrap怎么使圖片垂直居中?
<div class="mbrand"> <a href="#"><img src="img/mbarnd1.gif" class="img-responsive center-block"/></a> <a href="#"><img src="img/mbarnd2.gif" class="img-responsive center-block"/></a> <a href="#"><img src="img/mbarnd3.gif" class="img-responsive center-block"/></a> <a href="#"><img src="img/mbarnd4.gif" class="img-responsive center-block"/></a> <a href="#"><img src="img/mbarnd5.gif" class="img-responsive center-block"/></a></div>
問(wèn)題解答
回答1:把圖片添加css類img-responsive center-block
相關(guān)文章:
1. [python2]local variable referenced before assignment問(wèn)題2. 求救一下,用新版的phpstudy,數(shù)據(jù)庫(kù)過(guò)段時(shí)間會(huì)消失是什么情況?3. mysql - 如何在有自增id的情況下,讓其他某些字段能不重復(fù)插入4. python小白,關(guān)于函數(shù)問(wèn)題5. django - Python error: [Errno 99] Cannot assign requested address6. angular.js - 百度支持_escaped_fragment_嗎?7. java - 線上應(yīng)用,如果數(shù)據(jù)庫(kù)操作失敗的話應(yīng)該如何處理?8. node.js - win 下 npm install 遇到了如下錯(cuò)誤 會(huì)導(dǎo)致 無(wú)法 run dev么?9. python小白 關(guān)于類里面的方法獲取變量失敗的問(wèn)題10. Python2中code.co_kwonlyargcount的等效寫法
排行榜

熱門標(biāo)簽