html{ display: block; font-size: 62.5%; height: 100%; max-width: 640px; margin: 0 auto; padding: 0; } body{ max-width: 640px; overflow: hidden; margin: 0 auto; background: no-repeat; background-position:top center; background-size:100%; height: auto; } .logo{ display: block; width: 100%; margin: 0 auto; height:8rem; background-size: 50rem; background-position: top center; } .button a{ text-align: center; display: block; width: 4.68rem; height: 4.68rem; float: left; } .button a img{ width: 4.6rem; height: 4.6rem; }