Excuse me, I want to ask, how do I make the position of the arrow button in the image that I circled can be opposite and its position is the same as in Figure 1? Code:
<button class="pre-btn"><img src="button/arrow-removebg-preview.png" alt=""></button>
<button class="nxt-btn"><img src="button/arrow-removebg-preview.png" alt=""></button>
.pre-btn,
.next-btn{
margin: 0;
padding: 0;
border: none;
width: 10 ;
height: 100%;
position:absolute;
top: 0;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(90deg rgba(255, 255, 255, 0),0% #fff 100% );
cursor: pointer;
z-index: 9;
}
.pre-btn{
left: 0;
transform:rotate(180deg);
}
.next-btn{
right: 0;
}

