Possible Duplicate:
Manipulating CSS pseudo-elements using JQuery
On pageload I want the :before and :after elements on a class to appear. I've set the .lifted:before and .lifted:after to be opacity:0 in the css. Within document ready I have:
$(".lifted:before").css("opacity", "1");
$(".lifted:after").css("opacity", "1");
This doesn't work. And the .after jQuery manipulator is only made for inserting content as far as I can tell.
Is there any way I can manipulate the css of these pseudo-elements using jQuery?