用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 喜事作文结尾祝福语简短