使用Bootstrap使元素不可见
要使元素在Bootstrap中不可见,请使用invisible 类。
您可以尝试运行以下代码来隐藏元素-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container">
<h2>Cricket Boards</h2>
<p>The <abbr title = "International Cricket Council">ICC</abbr> governs cricket boards.</p>
<p class = "invisible">BCCI is also governed by ICC. (This element is invisible)</p>
</div>
</body>
</html>热门推荐
10 病人祝福语老师寄语简短
11 送同事出院祝福语简短
12 最佳元旦祝福语简短学校
13 女士四十岁祝福语简短
14 自己祝福语简短唯美短句
15 简短的古风生日祝福语
16 健身祝福语女生短句简短
17 女儿成年祝福语简短霸气
18 个性留言简短英文祝福语