-1

I am looking for a lightweight library to create elegant modal dialogues with different purpose (alerts, confirmation, prompt, forms). A library similar to Bootbox.js but without JQuery and Bootstrap dependencies would be perfect.

Note: I already know how to create modals using native javascript here, or using pure CSS examples here. I am looking for a library to facilitate this task.

Community
  • 1
  • 1
ahmohamed
  • 2,920
  • 20
  • 35

1 Answers1

2

Here is a codepen example that is pure CSS with no jQuery or Bootstrap dependencies: http://codepen.io/maccadb7/pen/nbHEg

and here is link to a "library" to create a "small & customizable modal" without jQuery or Bootstrap dependencies: http://www.cssscript.com/small-customizable-modal-dialog-javascript-library-nano-modal/

xengravity
  • 3,501
  • 18
  • 27
  • I already provided a link to this example in the question. I am looking for a lightweight library to create different styles of modals without having to code them one by one. – ahmohamed Mar 23 '15 at 06:57
  • 1
    Here is a "library" to create a "small & customizable modal" without jQuery or Bootstrap dependencies: http://www.cssscript.com/small-customizable-modal-dialog-javascript-library-nano-modal/ – xengravity Mar 23 '15 at 07:04
  • Thank you very much. This seems to do the job!! – ahmohamed Mar 23 '15 at 07:11