CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!

JS

            
              document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
    console.log("onDeviceReady: Phonegap version " + window.device.cordova);
	init();
}
            
          
!
999px
Loading ..................