用Bootstrap隐藏内容
要使用Bootstrap隐藏内容,请在Bootstrap中使用.hidden类。您可以尝试运行以下代码来隐藏内容:
示例
<!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 = "row" style = "padding: 91px 100px 19px 50px;">
<div class = "show" style = "left-margin:10px; width:300px; background-color:#ccc;">
Content is visible.
</div>
<div class = "hidden" style = "width:200px; background-color:#ccc;">
Content is hidden.
</div>
</div>
</body>
</html>热门推荐
10 生了女孩祝福语简短的
11 同学分开祝福语简短
12 新大学开学祝福语简短
13 婚礼亲友祝福语简短幽默
14 古风中考祝福语简短
15 牛年新年祝福语大全简短
16 发给女儿生日简短祝福语
17 送礼祝福语男性生日简短
18 学霸毕业祝福语简短