.centered { position: absolute; top: 50%; left:50%; transform: translate(-50%,-50%); } .padded { padding: 5%; } body{ background-color: lightgray; transition: all 0.5s ease 0s; } .correct{ background-color: greenyellow; } .wrong{ background-color: red; } .question-size{ font-size: 1000%; color: white; } .answer-size{ font-size: 200%; width: 100%; text-align: center; } .answer-form{ height: 54px; } .help-size{ font-size: 200%; color: white; } .hidden{ display: none; } .navbar-text > a > img{ max-height: 26px; } .glyphicon-spin { -webkit-animation: spin 1000ms infinite linear; animation: spin 1000ms infinite linear; } @-webkit-keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } } @keyframes spin { 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); transform: rotate(359deg); } }