Ovidiu-Antonio• 3,125
@ovidiuantonio
Posted
Hello, nice solution, good job! You can improve it by doing the following things:
- you can add the div element that holds the 2 buttons inside the slider__image, to keep it in that range and just change the
top
property withbottom
and give it a value like 2rem. - you can add to the arrow images that are inside the button element the following property:
pointer-events: none;
, this makes the images unclickable, (I saw that the area which you can click to slide was at the bottom and not the entire button)
Happy coding! Keep going!
1