I think that $(this) may not work in that context.

See if this works:
$('.panel').each(function(){
    $(this).css(/*set CSS here*/);
});

Reply via email to