我试了很长时间想在Twitter Bootstrap上叠加内容。
只需在轮播图的顶部叠加一个div,而不会防止轮播导航不再可点击+防止幻灯片(我正在使用300像素高度的图片)覆盖div的内容。(该div是导航菜单)
迄今为止尝试了多次并制作了一个jsfiddle:
.outer {
position: relative;
}
.ontop {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right:0;
z-index: 99999;
}
#wrapper_slider{
height: 360px;
background-color: red;
border: solid red 10px;
}
#bar{
height: 40px;
background-color: green;
}
谁知道如何正确处理这个问题?
(注:本文涉及IT技术领域,下同)