課程
/前端開發
/Bootstrap
/玩轉Bootstrap(基礎)
蒙版樣式moda-backdropl寫在哪里 ?而且大小沒看出差別啊
2017-03-13
源自:玩轉Bootstrap(基礎) 8-6
正在回答
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,并且能夠獨立定制出適合自己的Bootstrap
1 回答在哪里引入的 style.css的樣式啊
2 回答在代碼區怎么沒看見modal-backdrop這個類的蒙層樣式
2 回答在自己IDE里的樣式和慕課寫出來的不一樣啊
4 回答這里面沒有樣式設置,哪里來的顏色什么。。。。。
1 回答這里的style.css是bootstrap中的哪個css樣式啊
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-03-15
bootstrap.js第1109行
2017-03-13
寫在模態彈出框點擊按鈕上