.container { position: relative; padding-bottom: 12vw; background-color: #fff; } .banner { width: 100%; height: 50vw; } .content { display: block; width: 90%; margin: 10px auto; } .goodNav { width: 100%; height: 12vw; position: fixed; left: 0; bottom: 0; }