bootstrap 3 Modal Dialog 上下左右居中
来源:互联网 发布:淘宝小二介入退款流程 编辑:程序博客网 时间:2024/06/06 10:12
html code:
div id="confirm-dialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
div class="modal_wrapper" >
div class="modal-dialog">
div class="modal-content">
div class="modal-header">
button type="button" class="close" data-dismiss="modal" aria-hidden="true">× /button>
h4 class="modal-title">Confirm /h4>
/div>
div class="modal-body">
/div>
div class="modal-footer">
button type="button" class="btn btn-default" data-dismiss="modal" id="confirm-dialog-button-left">Close /button>
button type="button" class="btn btn-primary" id="confirm-dialog-button-right">Cancel /button>
/div>
/div>
/div>
/div>
/div>
.modal{
如果要去掉渐变效果,可以使用下面样式
.modal.fade .modal-dialog {
如果在bootstrap3(只是在v3.0.3测试过)下载的文档中JavaScript插件
css样式:
html code:
......
div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
......
- bootstrap 3 Modal Dialog 上下左右居中
- Bootstrap Modal 上下左右居中 完美解决方案
- bootstrap modal 居中
- bootstrap modal垂直居中
- bootstrap modal居中
- bootstrap modal 垂直居中
- bootstrap modal垂直居中
- Bootstrap模态框(modal)垂直居中
- Bootstrap模态框(modal)垂直居中
- Bootstrap modal 模态框垂直居中
- bootstrap模态框(modal)垂直居中
- bootstrap modal 垂直居中对齐
- bootstrap modal 垂直居中对齐
- bootstrap modal水平居中问题
- bootstrap modal 垂直居中对齐
- bootstrap学习30--javascript插件--modal dialog
- Bootstrap弹出框(modal)垂直居中
- bootstrap modal弹出框的垂直居中
- 签到了
- android的从服务器取得json对象进行解析
- Android代码混淆及反编译
- 第三章 堆栈
- 在Eclipse中安装Freemarker编辑器插件
- bootstrap 3 Modal Dialog 上下左右居中
- java数据验证
- Java序列化与反序列化
- WHQL
- mysql密码重置
- 建库建表
- 职业素养企业实训-俊平
- java设计模式-外观模式(Facade)
- js 将图片连接转换称base64格式