@media only screen and (min-width: 1200px) { .bottom-content { width: 1200px; margin: 0 auto; overflow: hidden; margin-bottom: 40px } } @media only screen and (min-width: 320px) and (max-width: 1200px) { .bottom-content { width: 100%; margin: 0 auto; overflow: hidden; margin-bottom: 40px } } .bottom-content .left-content { float: left } .bottom-content .right-content { float: left }