* { -webkit-tap-highlight-color: rgba(0,0,0,0); } body, html { height: 100%; width: 100%; margin: 0px; padding: 0px; overflow: hidden; } body { -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */ -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */ -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */ background: #eeeeee; font-family: pfd, sans-serif; font-size: 12px; } .loader { z-index: 2; width: 80px; height: 80px; position: absolute; top: 50%; left: 50%; margin-top: -40px; margin-left: -40px; display: none; } .loader:before { content: ''; border-radius: 50%; border-top: 3px solid #fff; border-right: 3px solid transparent; animation: loading .5s linear infinite; -webkit-animation: loading .5s linear infinite; width: 80px; height: 80px; display: block; } @keyframes loading { to {transform: rotate(360deg)} } @-webkit-keyframes loading { to {-webkit-transform: rotate(360deg)} }