CSS how did he do that?

Hello
I am wondering how did he do the next and prev buttons to the side of the image?
The site is responsive. He used CSS only.
The html code is:
<div class="banner">
        <div class="slider">
            <img src="imgs/0.jpg" alt="">
            <img src="imgs/1.jpg" alt="">
            <img src="imgs/2.jpg" alt="">
        </div>
        <div class="arrows">
            <button id="prev"><</button>
            <button id="next">></button>
        </div>
    </div>
image.png
Was this page helpful?