bootstrapモードボックスの簡単な使用demo
5970 ワード
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>bootstrap demotitle>
<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
head>
<body>
<h2> (Modal)h2>
<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#register">
button>
<div class="modal fade in" id="register" >
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button class="close" data-dismiss="modal">×button>
<h3 class="modal-title"> h3>
div>
<div class="modal-body">
<p> p>
div>
<div class="modal-footer">
<button class="btn btn-info" data-dismiss="modal"> button>
div>
div>
div>
div>
<script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js">script>
<script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js">script>
body>
html>