Modal is a plugin popup window which is shown on the top of current page.Here small modal having
.modal-sm class, large modal having
.modal-lg class and medium modal having
.modal-md class.In this example modals are opened with
.col-xs classes are used here.Resize the browser to see the effect of used classes and try to analyse.