Pseudo element content change

edited July 2014 in General
I have a div where :after pseudo element is applied. Inside that, some content is specified. Its CSS is something like this:

.element{
position: absolute;
background-color: black;
...
&:after{
content: url(..) center center no-repeat;
}
}

I want to know how can i get control over that div created by using pseudo element, so that i can change my content dynamically.
Sign In or Register to comment.