.modal-dialog {
position: absolute !important;
top:50% !important;
left:50% !important;
transform:translate(-50%,-50%) !important;
-webkit-transform:translate(-50%,-50%) !important;
-moz-transform:translate(-50%,-50%) !important;
-ms-transform:translate(-50%,-50%) !important;
-o-transform:translate(-50%,-50%) !important;
}
网友评论