
Bootstrap
世宝宝
这个作者很懒,什么都没留下…
展开
-
关于修改Bootstrap 4 中模态框modal的宽度
Bootstrap 默认提供三种大小的模态框宽度(正常、sm、lg),如果要想自定义宽度,可以设置modal-dialog的max-width(修改width没效果)。 如:原创 2020-07-21 11:05:21 · 1890 阅读 · 0 评论 -
bootstrap模态对话框宽度设置
$('#addFormbox').modal().css({ width: 'auto', 'margin-left': function () { return -($(this).width() / 2); } });原创 2013-06-05 15:00:35 · 29122 阅读 · 4 评论