I will have some pages and I have to apply pagination to them.
on small device (show only 2 page numbers):-
<< < 1 | 2 > >>
on medium and above devices (show all page numbers):
<< < 1 | 2 | 3 | 4 > >>
I am able to show all the page numbers on medium to large screens but the requirement is to show only 2 page numbers, at a time, on small screen devices. Please advice how to handle this responsive design, how to hide other numbers and show only 2 at a time on small screens?