[英]Overflow and z-index issue
as you see on image 正如您在图片上看到的
my main div has overflow:hidden; 我的主要div已溢出:隐藏;
but my select box which is position absolute is not as expect how can I fix it ? 但是我的选择框绝对位置不符合预期,我该如何解决?
my main div class 我的主要div班
border-top: 2px solid #00b9ff;
height: 340px;
overflow: hidden;
and my selectbox div classes 和我的选择框div类
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 85px;
background: rgba(0, 0, 0, 0.3);
z-index: 2;
color: #FFF;
With your test page : http://212.15.4.166:88/works/ani/tur_anasayfa.html 使用您的测试页: http : //212.15.4.166 : 88/works/ani/tur_anasayfa.html
Remove the overflow:hidden;
消除
overflow:hidden;
from #tur-detay-carousel
and add a height
value to .carousel-inner
. 从
#tur-detay-carousel
并将height
值添加到.carousel-inner
。 (here height:338px
seems to fit) (
height:338px
似乎合适)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.