I want to basically do this. But it doesn't work.
$('.child_flyout:after').css({'top':'20px'});
Any workaround to do this in jQuery?
I want to basically do this. But it doesn't work.
$('.child_flyout:after').css({'top':'20px'});
Any workaround to do this in jQuery?
Maybe It's just me, but I usually define the psuedo element in css and add the class.
.poptop:after {
top:20px;
}
$('.child_flyout').addClass('poptop');