A pure css way to create a sliding effect.