<style>
.modal-dialog {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.modal-content {
/*overflow-y: scroll; */
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.modal-body {
overflow-y: auto;
position: absolute;
top: 55px;
bottom: 65px;
width: 100%;
}
.modal-header .close {margin-right: 15px;}
.modal-footer {
position: absolute;
width: 100%;
bottom: 0;
}
</style>
让你的bootstrap3模态框也能有滚动条效果
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
jQuery插件:Tiny Scrollbar滚动条插件(滚动条美化、默认滚动条)
Tiny Scrollbar是基于jQuery的滚动条插件, 风格简洁, 可
javascript 前端 移动开发 ViewUI ci -
用CSS美化你的滚动条
本文将会告诉你如何用CSS修改/美化浏览器页面些浏览器加...
javascript ui ViewUI ci CSS