Is it possible?

Think of a small rectangular content. Inside, at the left and right edges, it has 2 arrows (left arrow and right arrow). And at the middle there is a content.

Is this possible? When I hover the left arrow the content’s inside will move left and when i hover right arrow the content’s inside will move right side.

Think like you have a rectangular box which can take 5 items horizontally. But I want to put 10 items but i cant play with the width.

So is it possible?