码迷,mamicode.com
首页 > 其他好文 > 详细

bootstrap模态框使用

时间:2019-09-29 19:58:11      阅读:105      评论:0      收藏:0      [点我收藏+]

标签:min   png   launch   doc   get   dal   role   jquer   demo   

技术图片

 

 

 


<!DOCTYPE html>
<html>
<head>
<title>Bootstrap 按钮组下拉菜单</title>
<link rel="stylesheet" href="bootstrap-3.3.7-dist\css\bootstrap.css">
<script src="jquery-3.4.1.min.js"></script>
<script src="bootstrap-3.3.7-dist\js\bootstrap.min.js"></script>
</head>
<body>


<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">
Launch demo modal
</button>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>


</body>
</html>

 

bootstrap模态框使用

标签:min   png   launch   doc   get   dal   role   jquer   demo   

原文地址:https://www.cnblogs.com/harryTree/p/11609320.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!