So basically, I have an absolute
positioned div, with a heap of children. This div is horizontally scrollable to see its overflow. Although, the scrollbar is hanging off the bottom and therefore preventing the bottom border-radius
from being seen.
HTML:
<ul>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
<li><a>List Item Here</a></li>
</ul>
CSS:
ul {
left: 0px;
right: 0px;
position: absolute;
border-radius: 16px;
overflow-x: scroll;
background-color:black;
}
li {
display: inline-block;
color:white;
padding-top:20px;
padding-bottom:20px;
}
Is there a way to add a border radius to the scrollbar to match the element? Or can I possibly hide the overflow on it?