Css trick to reproduce glimpse on native scroll

added by Robert Greyling
4/16/2015 12:00:00 AM

1 Kicks, 242 Views

One of the way I used recently to encourage users to scroll divs on horizontal scroller on mobile is to show an incomplete view of what is after, that is what in general is called “glimpse”. This could be accomplish with javascript of course but in many cases javascript could be too excessive, so here a little css snippet that reproduce what I want in a single css line