Posts

Modal in materialize css

  Use a modal for dialog boxes, confirmation messages, or other content that can be called up. In order for the modal to work you have to add the Modal ID to the link of the trigger. To add a close button, just add the class   .modal-close   to your button. MODAL <!-- 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 > Modals with Button trigger If you prefer to use a button to...