28 lines
610 B
HTML
28 lines
610 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" >
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Pure css popup box</title>
|
|
<link rel="stylesheet" href="./style.css">
|
|
|
|
</head>
|
|
<body>
|
|
<!-- partial:index.partial.html -->
|
|
<h1>Popup/Modal Windows without JavaScript</h1>
|
|
<div class="box">
|
|
<a class="button" href="#popup1">Let me Pop up</a>
|
|
</div>
|
|
|
|
<div id="popup1" class="overlay">
|
|
<div class="popup">
|
|
<h2>Here i am</h2>
|
|
<a class="close" href="#">×</a>
|
|
<div class="content">
|
|
Thank to pop me out of that button, but now i'm done so you can close this window.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- partial -->
|
|
|
|
</body>
|
|
</html> |