Lets say my page has 4 div elements all nested inside each other. I want to add a level of opacity to be above every element except the last nested element, that is triggered when i enter a form element for ex. So far i have this:
$(window).load(function(e){
  $('#main-user-signup').on('click',function(e){
     $("#main-site-header").css("opacity",.1).fadeIn(300, function () {            
        $('#sign-up-text-home').css({'z-index':9999});
     });
   e.preventDefault();
   });
});
2 problems.
- the #sign-up-text-home is also getting the opacity layer. It is nested inside #main-site-header. 
- how do i change the opacity layer color and not the actual background color. 
 
     
     
    