Bootstrap 3 classes hidden-* 似乎在某些視窗大小上無法正常作業。我想這段代碼必須永遠隱藏文本:
<!doctype html>
<html>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<body>
<div class="hidden-xs hidden-sm hidden-md hidden-lg">hidden</div>
</body>
</html>
但是在某些視窗寬度上(以非常窄的間隔)它會顯示出來。在 Chrome、Firefox、Edge 中檢查。當文本可見時,Firefox 擴展“引導程式 - 負責任的助手”始終顯示“LG”。

轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/360343.html
標籤:html css 推特引导 twitter-bootstrap-3
上一篇:盡管<textarea></textarea>之間有內容,為什么Textarea是空的
下一篇:引導程式中的CSS動態影像大小
