Posted By

code4mac on 09/27/12


Tagged

modal bootstrap


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

rogergonzalez21
JuanIB
Priestd09
mattduncan13


bootstrap modal


 / Published in: HTML
 

bootstrap modal

  1. <-- Button to trigger modal -->
  2. <a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
  3.  
  4. <-- Modal -->
  5. <div class="modal hide fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  6. <div class="modal-header">
  7. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  8. <h3 id="myModalLabel">Modal header</h3>
  9. </div>
  10. <div class="modal-body">
  11. <p>One fine body…</p>
  12. </div>
  13. <div class="modal-footer">
  14. <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
  15. <button class="btn btn-primary">Save changes</button>
  16. </div>
  17. </div>

Report this snippet  

You need to login to post a comment.