So for the last hours I've been trying to create a CSS border around an image, pretty much like imgur.com does ( http://imgur.com/gallery/cRZb5xm - random image ).
I've failed all of the times or didn't get the intented result,
Could anyone link me to a decent guide?