<div class="parent">
<div class="prev"> < </div>
</div>
<style>
.parent {
position relative
}
nav {
position absolute
left -50px;
}
</style>
<div class="slider">
<div class="button button-left"></div>
<div class="button button-right"></div>
</div>
.slider .button {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
.slider .button-right {
right: -30px;
}
.slider .button-left {
left: -30px;
}