吴裕雄 Bootstrap 前端框架开发——Bootstrap 辅助类:显示和隐
发布时间:2020-12-17 20:35:05 所属栏目:安全 来源:网络整理
导读:! DOCTYPE html html head meta charset ="utf-8" title Bootstrap 实例 - 显示和隐藏内容 / title link rel ="stylesheet" href ="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" script src ="https://cdn.staticfile.org/jq
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Bootstrap 实例 - 显示和隐藏内容</title> <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script> <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> </head> <body> <div class="row" style="padding: 91px 100px 19px 50px;"> <div class="show" style="margin-left:10px;width:300px;background-color:#ccc;"> 这是 show class 的实例 </div> <div class="hidden" style="width:200px;background-color:#ccc;"> 这是 hide class 的实例 </div> </div> </body> </html> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |