How to show small Modal


#1

I want to show a modal in the small version (not full width and height of the screen) for any size of screen with it’s backdrop, besause it only shows like that for only big screen sizes.


#2

use like this
.modal{
top: 20% !important;
bottom: 20% !important;
overflow: visible !important;
min-height: 100px !important;
max-height: 260px !important;
width: 100% !important;
}