I've run into an issue with adding arrows to my slider. The arrows aren't displaying on the page properly - they show up for a split second when I refresh the page, and then disappear. Any ideas on what might be causing this problem?
.slider {
position: relative;
z-index: 10;
}
.next {
position: absolute;
top: 0;
right: -120px;
z-index: 1111;
}
.prev {
position: absolute;
top: 0;
left: -120px;
z-index: 1111;
}
<div class="slider">
<div>slide</div>
<img src="prev.svg" class="prev">
<img src="next.svg" class="next">
</div>