transitioning between displaying full and abbreviated dates purely in CSS