Rectangle 27 0

Simple CSS screen slide on click [jQuery and JavaScript]

some HTML5 magic

/*  jQuery ready function. Specify a function to execute when the DOM is fully loaded.  */
var moveIt = function(){
    $('.slider').toggleClass('moveIt');
  }

$(document).ready(
  
  $(document).on('click', '.screen', function(){
    moveIt();
  })

);
jQuery JavaScript