modal
modal
<!DOCTYPE html> <html lang="ja"> <head> <meta charset="utf-8"> <title>Bootstrap</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Bootstrap --> <link href="../css/bootstrap.min.css" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> </head> <body> <div class="container" style="padding: 20px"> <a data-toggle="modal" href="#myModal" class="btn btn-primary">show me</a> <div class="modal fade" id="myModal"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button class="close" data-dismiss="modal">×</button> <h4 class="modal-title">my modal</h4> </div><!------modal-header.end--------> <div class="modal-body"> <p>テキストテキストテキスト</p> <p>テキストテキストテキスト</p> <p>テキストテキストテキスト</p> <p>テキストテキストテキスト</p> <p>テキストテキストテキスト</p> </div><!------modal-body.end--------> <div class="modal-footer"> <p>http://aaaa.com</p> </div><!------modal-footer.end--------> </div><!------modal-content.end--------> </div><!------modal-dialog.end--------> </div><!------modal fade.end--------> </div><!-------container.end--------> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://code.jquery.com/jquery.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="../js/bootstrap.min.js"></script> </body> </html>