.ui.feature.image { position: relative; display: inline-block; border: 1px solid #CCCCCC; background: #F5F5F5 url(../images/placeholder-subtle.png) no-repeat center center; } .ui.feature.image img { display: block; } .ui.feature.image:after { position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; content: ''; -webkit-box-shadow: 0px 0px 0px 3px rgba(255, 255, 255, 0.6) inset, 0px 1px 1px rgba(0, 0, 0, 0.3) ; -moz-box-shadow: 0px 0px 0px 3px rgba(255, 255, 255, 0.6) inset, 0px 1px 1px rgba(0, 0, 0, 0.3) ; box-shadow: 0px 0px 0px 3px rgba(255, 255, 255, 0.6) inset, 0px 1px 1px rgba(0, 0, 0, 0.3) ; z-index: 10; } /* Rounded Corners */ .ui.feature.image, .ui.feature.image img, .ui.feature.image:after { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; }