How to center a div in modal?
Before applying the code
Use the below code to center a div in modal
text-align: -webkit-center;
margin-left: 10px;
This will make your div center in modal in all the screens whether it is a small size screen of 640px or it is a large size of 1940px
Comments
Post a Comment