I created a Modal for my framework. I created everything like HTML Codes, CSS Codes & JS Codes ..., It works very good !
My only problem is that I can't make it CENTER & RESPONSIVE ...
This is my CSS Codes for Modal Div :
border: 1px solid #CCC;
To make it responsive, instead try setting the
vw units. Also, to center it horizontally you can use
margin: 0 auto. Centering it vertically is a little more tricky, check out this answer for more on that.