An infinite pagination snippet designed by Mariusz Dabrowski. When you click on the left or right arrow the dot in the centre moves to the left or right respectively and adds a new dots comes up.
If you are having trouble with the pen, try the archived copy on GitHub
Infinite Pagination Snippet
See the Pen Infinite Pagination by Mariusz Dabrowski (@MarioD) on CodePen.0