CodePen

HTML

            
              
            
          
!

CSS

            
              
            
          
!

JS

            
              /* apply appropriate icon size depending on current orientation */
if (!rotated) {
    $('.springboard img').css('max-height', maxHeight);
} else {
    $('.springboard img').css('max-height', maxHeight2);
}
            
          
!
999px
Loading ..................