I want to be able to have the slider within the container on the left side, but ignore the right width and go full-width without going out of the page(html/body).
I've tried everything, but just not able to fix it.
I have a bootstrap 5 container and I want to have a owl slider inside of it or anything for that matter.
I've tried overflows, white-space, width: 100%;
<div class="container">
<div class="overflow-slider">
@for ($i = 0; $i < 7; $i++)
<img src="https://via.placeholder.com/150" class="yeah">
@endfor
</div>
</div>
.container {
position: relative;
}
.overflow-slider {
display: flex;
overflow: auto;
position: absolute;
white-space: nowrap;
width: 100vw;
}
This is what I want to achieve, without going out of the page, but right now its going all the way to the right and breaking the page.
This is mine
And this is how I want it

