.box{ width:100%; } .header{ width: 100%; } .header img{ width:100%; } .title{ width:100%; text-align: center; color:rgb(0,161,236); font-size: 1.5rem; margin-top: 3vh; font-weight: bold; } .moneyDiv{ border-bottom: 0.1vw black solid; margin: 3.5vh auto; width: 85%; } .money{ margin-top: 3vh; } .amount{ color:#6CA6CD; margin-left:1vw; } .type{ float:left; font-size: 2rem; } .moneyInput{ height: 3rem; } .moneyInput input{ border:0; width: 85%; height: 2.5rem; font-size: 2rem; } .footer{ width:100%; height:30%; position:fixed; bottom:0; left:0; } .firstSpan{ width:100%; } .firstNumber{ background:rgb(245,245,245); width:24.8%; height:19.2%; text-align: center; padding-top: 3.2%; float:left; border: 0.1vw grey solid; } .Number{ background:rgb(245,245,245); width:24.9%; height:19.2%; text-align: center; padding-top: 3.2%; float:left; border-right: 0.1vw grey solid; border-bottom:0.1vw grey solid; border-top:0.1vw grey solid; } .secondSpan{ width:100%; } .secondNumFirst{ background: rgb(245,245,245); width: 24.9%; height: 19.2%; text-align: center; padding-top: 3.2%; float: left; border-right: 0.1vw grey solid; border-bottom: 0.1vw grey solid; border-left: 0.1vw grey solid; } .secondNum{ background: rgb(245,245,245); width: 24.8%; height: 19.2%; text-align: center; padding-top: 3.2%; float: left; border-right: 0.1vw grey solid; border-bottom: 0.1vw grey solid; } .thirdSpan{ width:100%; } .fourthSpan{ width:100%; } .sub{ background: rgb(86,171,228); width: 25%; height: 19.2%; text-align: center; padding-top: 3.2%; float: left; border-right: 0.1vw grey solid; border-bottom: 0.1vw rgb(86,171,228) solid; color:white; } .zero{ background: rgb(245,245,245); width: 49.8%; height: 19.2%; text-align: center; padding-top: 3.2%; float: left; border-left: 0.1vw grey solid; border-right: 0.1vw grey solid; border-bottom: 0.1vw grey solid; } .bottomsub{ background: rgb(86,171,228); width: 25%; height: 19.2%; text-align: center; padding-top: 3.2%; float: left; border-right: 0.1vw grey solid; border-bottom: 0.1vw grey solid; } @media screen and (max-width:320px){ .header>img{ width: 100%; } } @media screen and (min-width:568px){ .header>img{ height:0; } } input { pointer-events: none; }