CodePen

HTML

            
              
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
                function Resize (width, height) {
jsurface.width (width);
jsurface.height (height);
surface.Set_Scale (width, height);
   surface.Position_All ();
  }
  
  function Resize_To_Window () {
      Resize ($(window).width(), $(window).height());
  }


  ...
  
      // do the initial sizing and positioning
      Resize_To_Window ();

      // setup handler to be called when window is resized
      $(window).resize (Resize_To_Window);
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................