diff options
author | Anna Knoerr <an.kn@protonmail.ch> | 2021-12-22 21:10:45 +0100 |
---|---|---|
committer | Anna Knoerr <an.kn@protonmail.ch> | 2021-12-22 21:10:45 +0100 |
commit | 8bb17555ed72ae49e234ae7a3ca7b30f3fcdd4cf (patch) | |
tree | bdd4283d3f5ff4698780b1f8807eaadb1b74efeb | |
parent | d93bf2304241bc5f9f2e6d4efd10e630d069c8e2 (diff) |
still working?
-rw-r--r-- | blog.html | 47 |
1 files changed, 1 insertions, 46 deletions
@@ -14,52 +14,6 @@ </head> <body> -<head> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<style> -body {font-family: Arial, Helvetica, sans-serif;} - -/* The Modal (background) */ -.modal { - display: none; /* Hidden by default */ - position: fixed; /* Stay in place */ - z-index: 1; /* Sit on top */ - padding-top: 100px; /* Location of the box */ - left: 0; - top: 0; - width: 100%; /* Full width */ - height: 100%; /* Full height */ - overflow: auto; /* Enable scroll if needed */ - background-color: rgb(0,0,0); /* Fallback color */ - background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ -} - -/* Modal Content */ -.modal-content { - background-color: #fefefe; - margin: auto; - padding: 20px; - border: 1px solid #888; - width: 80%; -} - -/* The Close Button */ -.close { - color: #aaaaaa; - float: right; - font-size: 28px; - font-weight: bold; -} - -.close:hover, -.close:focus { - color: #000; - text-decoration: none; - cursor: pointer; -} -</style> -</head> -<body> <h2>Modal Example</h2> @@ -76,6 +30,7 @@ body {font-family: Arial, Helvetica, sans-serif;} </div> </div> + </body> <script> // Get the modal |