ShapeYourPath
(current)
Run Code
Live Code Editor-Materialize Bottom Sheet Modals
Source Code
<!DOCTYPE html> <html lang="en"> <head> <title>Materialize Bottom Sheet Modals</title> <meta name="viewport" content="width = device-width, initial-scale = 1" /> <meta name="robots" content="noindex,nofollow"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> <!-- Compiled and minified CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" /> <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> <!-- Compiled and minified JavaScript --> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script> </head> <body> <h1 class="center-align">Materialize Bottom Sheet Modals</h1> <!-- Modal Trigger --> <a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal</a> <!-- Modal Structure --> <div id="modal1" class="modal bottom-sheet"> <div class="modal-content"> <h4>Modal Header</h4> <p>A bunch of text</p> </div> <div class="modal-footer"> <a href="#!" class="modal-close waves-effect waves-green btn-flat">Agree</a> </div> </div> <script type="text/javascript"> $(document).ready(function () { $(".modal").modal(); }); </script> </body> </html>
Output :
Running
MATERIALIZE-TUTORIAL
MATERIALIZE-CSS-MODALS OTHER EXAMPLES
Materialize CSS Modal Example
Materialize Modal With Fixed Footer Example
Materialize Bottom Sheet Modals Example
Materialize Modals With Button trigger Example