我有我自己的最终项目,我在学校做的自定义滚动条和div的边框半径为15px,当我把自定义滚动条的边框半径为15px,滚动越过DIV不使它看起来像你一样,我希望它CSS/Javascript使滚动条内div
我怎样才能把它放在DIV中,这样的边缘不会出现?
的CSS的一些代码:
#ruv_results, #stod2_results,#stod2bio_results, #stod3_results{
text-align:center;
}
.ruv_title_css, .stod2_title_css,.stod2bio_title_css, .stod3_title_css{
font-size:20px;
color:#ffffff;
border:1px solid #000000;
border-radius:15px;
margin-top:25px;
width:450px;
height:550px;
display:inline-block;
vertical-align:top;
box-shadow: 0 0 20px #000;
background:#5e5e5e;
box-shadow: inset 0 0 20px #000000;
padding-right:4px;
padding-left:4px;
margin-bottom:10px;
margin-right:6px;
margin-left:6px;
}
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 15px;
height:90%;
}
::-webkit-scrollbar-thumb {
border-radius: 15px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
嗯,这似乎并没有为我工作,我将会编辑并为您添加一些代码如果这有助于 – Kobbi
尝试为您应用z-index的元素添加位置属性。 https://www.smashingmagazine.com/2009/09/the-z-index-css-property-a-comprehensive-look/ – Kosch
你能帮我吗?这里是代码,但我不知道如何在jfiddle jsfiddle.net/ohtd6h1j中加载Ajax请求,对于迟到的回复对不起。 – Kobbi