代碼塊原本沒有工作...隱藏屬性在引導
<div class="content row">
<img width="33%" class="img-thumbnail img-rounded" src="foo">
<img width="33%" class=" img-thumbnail img-rounded" src="bar" >
<img width="33%" class=" img-thumbnail img-rounded" src="baz" >
</div>
用戶的請求後,有些頁面的DOM事件更改HTML代碼塊...
<div class="content row">
<img width="33%" class="img-thumbnail img-rounded center-block" src="foo">
<img width="33%" class=" img-thumbnail img-rounded" src="bar" hidden="">
<img width="33%" class=" img-thumbnail img-rounded" src="baz" hidden="">
</div>
當 頁面呈現 隱藏的圖像仍然顯示?如果img-
類被刪除,標記爲隱藏的圖像不會如預期那樣顯示。但是,我需要img-
引導類。
如何隱藏應該隱藏的圖像?
PS-我使用的引導3.1.0
只使用一個隱藏的類。它是在bootstrap – 2015-02-10 05:44:53
OFFTOPIC ::管理員應該讓人們在10分鐘之前接受答案!等待選擇答案真的很煩人! – anu 2015-02-10 05:53:45