"Foundation Modal"
Foundation 6.3.1 Snippet by test9999

<link href="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.1/css/foundation.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//cdnjs.cloudflare.com/ajax/libs/foundation/6.3.1/js/foundation.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Sorry Friend, I can't really find the best CDN for the modal --> <!-- Zurb foudation, very hard to find the cdn, if anyone having the full set cdn, pls let me know ya --> <!-- Therefore, i can put more function on this page :) --> <!-- Below is base my free hosting website, kindly dont use it :) --> <!doctype html> <html class="no-js" lang="en" dir="ltr"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Foundation for Sites</title> <link rel="stylesheet" href="https://amd-stg.000webhostapp.com/css/foundation.css"> <link rel="stylesheet" href="https://amd-stg.000webhostapp.com/css/app.css"> </head> <body> <section> <div class="row"> <div class="columns"> <p><a data-open="exampleModal1">Click me for a modal</a></p> <div class="reveal" id="exampleModal1" data-reveal> <h1>Awesome. I Have It.</h1> <p class="lead">Your couch. It is mine.</p> <p>I'm a cool paragraph that lives inside of an even cooler modal. Wins!</p> <button class="close-button" data-close aria-label="Close reveal" type="button"> <span aria-hidden="true">×</span> </button> </div> </div> </div> </section> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://amd-stg.000webhostapp.com/js/vendor/jquery.js"></script> <script src="https://amd-stg.000webhostapp.com/js/vendor/what-input.js"></script> <script src="https://amd-stg.000webhostapp.com/js/vendor/foundation.js"></script> <script src="https://amd-stg.000webhostapp.com/js/app.js"></script> </body> </html>

Related: See More


Questions / Comments: