使用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>热门推荐
3 万寿祝福语简短
10 写给情侣祝福语 浪漫简短
11 孙子结婚祝福语大全简短
12 同事男生节祝福语简短
13 离别简短的祝福语大全
14 表达朋友的祝福语简短
15 打牌翻盘祝福语简短
16 启程出发路途祝福语简短
17 对女友的简短祝福语
18 订婚新发言简短祝福语