Answers for "modal in materialize css"

CSS
0

modal in materialize css

<!-- Modal Trigger -->
  <a class="waves-effect waves-light btn modal-trigger" href="#modal1">Modal</a>

  <!-- Modal Structure -->
  <div id="modal1" class="modal">
    <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>
Posted by: Guest on July-21-2020
0

open model using materialize open

$(".MyModal").closeModal()
Posted by: Guest on August-31-2020

Browse Popular Code Answers by Language