#gonogo { position: relative; width: 100%; min-height: 500px; margin: auto; } .gonogo-input { width: 150px; height: 150px; margin: auto; text-align: center; font-weight: bold; font-size: 34px; text-shadow: 0 1px 1px rgba(0,0,0,.3); color: #ffffff; line-height: 140px; box-shadow: 2px 2px 7px rgba(0,0,0,.2); border-radius: 50%; border-width: 4px; border-style: solid; transition: all .1s linear; } .gonogo-input-in-task { margin: 0; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } #go { background-color: rgba(0, 141, 0, 1); border-color: rgba(133,32,28,.2); } #nogo { background-color: rgba(239,57,50,1); border-color: rgba(133,32,28,.2); } .gonogo-error { display: none; background-color: yellow; width: 250px; text-align: center; font-size: 24px; font-weight: bold; margin: 0; position: absolute; top: 50%; left: 50%; -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .gonogo-instructions { margin-top: 30px; } #gonogo-bar { margin: auto; -moz-box-shadow:inset 0px 0px 14px 10px #fafafa; -webkit-box-shadow:inset 0px 0px 14px 10px #fafafa; box-shadow:inset 0px 0px 14px 10px #fafafa; background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #858585)); background:-moz-linear-gradient(top, #ffffff 5%, #858585 100%); background:-webkit-linear-gradient(top, #ffffff 5%, #858585 100%); background:-o-linear-gradient(top, #ffffff 5%, #858585 100%); background:-ms-linear-gradient(top, #ffffff 5%, #858585 100%); background:linear-gradient(to bottom, #ffffff 5%, #858585 100%); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#858585',GradientType=0); background-color:#ffffff; -moz-border-radius:80px; -webkit-border-radius:80px; border-radius:5px; height: 100px; width: 80%; line-height: 100px; border:1px solid #868c81; cursor:pointer; text-align: center; } #gonogo-bar > span { display: inline-block; vertical-align: middle; line-height: normal; } #gonogo-bar:active { position:relative; top:3px; } .top-for-touch { top: 20% }