A CodePen by Avaz Bokiev. Sliding door effects using CSS - I've used border tricks to get the effect.