A CodePen by davidleininger. Transparent Inner Border with Inner Shadow - #rotator is parent element for cycling images (or divs). The design called for a transparent inner border with an inner shadow. This is how to do it with CSS only.