.memorycell { border-radius: 5px; margin: 2px; text-align: center; background-color: #707070; display: inline-block; width: calc(10% - 4px); } @media (max-width: 768px) { .memorycell { width: calc(20% - 4px); } } .active_cell { background-color: #A0A0A0; } .active_code { color: #C02020; background-color: #A0A0A0; } #input { margin-top: 6px; width: 100%; height: 200px; resize: none; border-radius: 5px; border-style: none; box-sizing: border-box; padding: 10px; } #outputcode { margin-bottom: 6px; width: 100%; min-height: 100px; resize: none; color: #000000; background-color: #A0A0A0; border-radius: 5px; padding: 10px; word-wrap: break-word; } #output { margin-bottom: 6px; width: 100%; min-height: 100px; resize: none; color: #000000; background-color: #A0A0A0; border-radius: 5px; padding: 10px; word-wrap: break-word; } #delay { width: 100%; -webkit-appearance: none; border-radius: 5px; height: 10px; background-color: #D0D0D0; opacity: 0.7; -webkit-transition: 0.2s; transition: opacity 0.2s; } #delay::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 20px; border-radius: 5px; background: #601010; cursor: pointer; } #delay::-moz-range-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 20px; border-radius: 5px; background: #601010; cursor: pointer; } #delay:hover { opacity: 1; } #delaydiv { background-color: #707070; width: 100%; padding-top: 6px; padding-left: 5px; padding-right: 5px; padding-bottom: 5px; margin-top: 6px; border-radius: 5px; } #reset { width: calc(50% - 2px); float: left; } #start { margin-right: 4px; width: calc(50% - 2px); float: left; }