慕村5184313
2017-03-13 10:38
蒙版样式moda-backdropl写在哪里 而且大小没看出差别啊
bootstrap.js第1109行
Modal.prototype.backdrop = function (callback) { var that = this var animate = this.$element.hasClass('fade') ? 'fade' : '' if (this.isShown && this.options.backdrop) { var doAnimate = $.support.transition && animate this.$backdrop = $(document.createElement('div')) .addClass('modal-backdrop ' + animate) .appendTo(this.$body) this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) { if (this.ignoreBackdropClick) { this.ignoreBackdropClick = false return } if (e.target !== e.currentTarget) return this.options.backdrop == 'static' ? this.$element[0].focus() : this.hide() }, this))
写在模态弹出框点击按钮上
玩转Bootstrap(基础)
314544 学习 · 2275 问题
相似问题