phonon
Version:
Phonon is an open source HTML, CSS and JavaScript agnostic framework that allows to create a website or a hybrid Web app.
38 lines (35 loc) • 1.3 kB
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="../../../dist/css/phonon.css">
<title>Modal</title>
</head>
<body>
<button class="btn btn-primary" data-toggle="modal" data-target="#exampleModal">Launch demo modal</button>
<!-- Modal -->
<div class="modal" id="exampleModal" tabindex="-1" role="modal">
<div class="modal-inner" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Modal title</h5>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<div class="btn-group float-right" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.js"
integrity="sha256-fNXJFIlca05BIO2Y5zh1xrShK3ME+/lYZ0j+ChxX2DA="
crossorigin="anonymous"></script>
<script src="../../../dist/js/phonon.js"></script>
</body>
</html>