I have this piece of CSS:
.image-wrap:after {
content: ' ';
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
box-shadow: inset 0px 0px 0px 5px red;
}
I would like to 'write' this in Jquery. I'm having trouble with :after
Is there any way of using :after
in Jquery? Please take a look at my full code: http://jsfiddle.net/WpGsx/23/