[Solved] CSS Propertie change OnClick [closed]


Here’s an example of an onclick event for the one element, which will change its z-index.

$(function(){
  $("#one").click(function(){
     $(this).css("z-index", 2);
  });
});

From this you should be able to work out how to do the rest. If not, then look into the use of jQuery more. We’re not here to do the work for you.

2

solved CSS Propertie change OnClick [closed]