CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!

JavaScript

            
              var onDeviceReady=function(){ 
  //Size the display to 768px by 1024px
  intel.xdk.display.useViewport(768,1024); 
  //put the app in Landscape mode
  intel.xdk.device.setRotateOrientation("landscape"); 
  intel.xdk.device.setAutoRotate("false"); 
} 
            
          
!
999px
Loading ..................