you see how the shadows at the end of the borders





You see how the shadows at the end of the borders in each photo? See how the shadowed-border seems to disappear towards the end? I’ve seen that many times as a neat design trick to produce such a skeuomorphic effect, it’s usually done in photoshop and served as an image.

This, however, does that same effect using just CSS

EDIT: Thanks to Codepen for featuring my pen!