I have a class in css file like this
#current a::after {
    background: #fff;
    z-index: 3;
}
I need to change backround color by clicking on checkbox
$(document).ready(function(){
    $(".element" ).click(function(){    
        $("#current a::after").css("background-color:", "red");     
    });
What is the right syntax of my code?
 
     
     
     
    