@media only screen and (max-width: 768px) {
// add css rules to apply when the
// screen is less than 768px wide
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
// add css rules to apply when the screen width is
// greater than 768px but less than 1024px wide
}
JavaScript Foundations