简体   繁体   English

溢出和Z-index问题

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM