CodePen

HTML

            
              <input type="checkbox">
<div>Hide this</div>
            
          
!

CSS

            
              
            
          
!

JavaScript

            
              $('input:checkbox').live('change', function(){
  $('div').toggle();
});
            
          
!
999px
Loading ..................