#wrapper { max-height: 100%; min-height: 100%; width: 100%; height: 100%; display: flex; } #main { height: 100%; flex-grow: 1; position: relative; } #name { position: absolute; top: 10px; left: 10px; color: white; } #meta { color: white; position: absolute; bottom: 0; width: 100%; } .options { background-color: black; max-width: 300px; width: 20%; min-width: 150px; height: 100%; display: flex; flex-direction: column; overflow-y: auto; } .option { color: white; margin: 0 0 20px 0; padding: 10px; background-color: #333; } .option:last-child { margin: 0; } .option:hover { background-color: #777; } .infocontainer { padding: 10px; position: absolute; bottom: 14px; } .slidecontainer { width: 100%; } .slider { width: 100%; height: 12px; position: absolute; bottom: 0; cursor: pointer; border-top: 1px solid black; margin: 0; padding: 0; } /*Chrome*/ @media screen and (-webkit-min-device-pixel-ratio:0) { .slider { overflow: hidden; -webkit-appearance: none; background-color: #555; } /* .slider::-webkit-slider-runnable-track { height: 12px; -webkit-appearance: none; color: #fff; margin-top: -1px; } */ .slider::-webkit-slider-thumb { width: 18px; height: 12px; border-radius: 50%; -webkit-appearance: none; cursor: ew-resize; background: #fff; } } /** FF*/ .slider::-moz-range-thumb { background: #fff; border: 0; height: 100%; } .slider::-moz-range-progress { background-color: #0073e5; height: 100%; } .slider::-moz-range-track { background-color: #000000; height: 100%; } .lds-roller { display: none; } .loading>.lds-roller { display: inline-block; } .lds-roller { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; } .lds-roller div { animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite; transform-origin: 40px 40px; } .lds-roller div:after { content: " "; display: block; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin: -4px 0 0 -4px; } .lds-roller div:nth-child(1) { animation-delay: -0.036s; } .lds-roller div:nth-child(1):after { top: 63px; left: 63px; } .lds-roller div:nth-child(2) { animation-delay: -0.072s; } .lds-roller div:nth-child(2):after { top: 68px; left: 56px; } .lds-roller div:nth-child(3) { animation-delay: -0.108s; } .lds-roller div:nth-child(3):after { top: 71px; left: 48px; } .lds-roller div:nth-child(4) { animation-delay: -0.144s; } .lds-roller div:nth-child(4):after { top: 72px; left: 40px; } .lds-roller div:nth-child(5) { animation-delay: -0.18s; } .lds-roller div:nth-child(5):after { top: 71px; left: 32px; } .lds-roller div:nth-child(6) { animation-delay: -0.216s; } .lds-roller div:nth-child(6):after { top: 68px; left: 24px; } .lds-roller div:nth-child(7) { animation-delay: -0.252s; } .lds-roller div:nth-child(7):after { top: 63px; left: 17px; } .lds-roller div:nth-child(8) { animation-delay: -0.288s; } .lds-roller div:nth-child(8):after { top: 56px; left: 12px; } @keyframes lds-roller { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } #speed { width: 100px; } #canvas { position: relative; background-color: black; width: 100%; height: 100%; } /* ---------------------------------------------- * Generated by Animista on 2019-9-17 14:35:13 * Licensed under FreeBSD License. * See http://animista.net/license for more info. * w: http://animista.net, t: @cssanimista * ---------------------------------------------- */ /** * ---------------------------------------- * animation slide-top * ---------------------------------------- */ @-webkit-keyframes slide-top { 0% { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } 100% { -webkit-transform: translate(-50%, -150%); transform: translate(-50%, -150%); } } @keyframes slide-top { 0% { -webkit-transform: translate(-50%, 50%); transform: translate(-50%, 50%); } 100% { -webkit-transform: translate(-50%, -150%); transform: translate(-50%, -150%); } }