bootstrap模态框远程示例代码分享

<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="width=device-width, initial-scale=1, user-scalable=no"> <title>XXX</title> <link href="https://www.jb51.net/lib/bootstrap/css/bootstrap.css"> <link href="https://www.jb51.net/css/main.css"> <!--[if lt IE 9]> <script src="https://www.jb51.net/lib/html5shiv/html5shiv.min.js"></script> <script src="https://www.jb51.net/lib/respond/respond.min.js"></script> <![endif]--> </head> <body> <!--通过按钮可以加载模态框内容,一定要加上头部和底部--> <div> <!--关闭按钮--> <button data-dismiss="modal"><!--可以关闭模态框--> <span>×</span> </button> <!--头部标题--> <h4>远程登录</h4> </div> <div> <!--<p>暂时无法注册</p>--> <div><!--在模态框主体部分还可以加入流体的栅格系统,一定是流体--> <div> <div>haha</div> <div>hehe</div> <div>heihei</div> </div> </div> </div> <div> <button>远程</button> <button>远程</button> </div> <script src="https://www.jb51.net/lib/jquery/jquery.js"></script> <script src="https://www.jb51.net/lib/bootstrap/js/bootstrap.js"></script> <script src="https://www.jb51.net/js/main.js"></script> </body> </html>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wyswpf.html