编辑下面的代码:【加编码】
<html> <head> <title>Bootstrap 实例 - 显示和隐藏内容</title> <link href="https://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <script src="https://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> <script src="https://libs.baidu.com/bootstrap/3.0.3/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;"> 这是 show class 的实例 </div> <div class="hidden" style="width:200px;background-color:#ccc;"> 这是 hide class 的实例 </div> </div> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂