bootstrap --- 弹出对话框
生活随笔
收集整理的這篇文章主要介紹了
bootstrap --- 弹出对话框
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
<button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal">點擊觸發(fā)模態(tài)對話框
</button><div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-hidden="true"><div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title" id="myModalLabel">對話框標(biāo)題</h4></div><div class="modal-body">模態(tài)對話框示例</div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button><button type="button" class="btn btn-primary">Save changes</button></div></div></div>
</div>
彈出框
有些時候,外面希望了解更多的內(nèi)容,這個時候,我們可以使用bootstrap提供的彈出框
參考 《CSS高效開發(fā)實戰(zhàn)》 P181
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的bootstrap --- 弹出对话框的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 导出(若依框架)
- 下一篇: bootstrap --- 标签页切换