Media Queries: Screen > 1024

Viewed 73019

I'm trying to apply media queries in a site but my knownledge is not deep in this topic, so basically I want to apply a specific style to a tag when the detected screen is greater than 1024*768.

I did this

@media screen and ( device-width: 1024px ) {

}

but the I've to identify when the resolution is greater than 1024

4 Answers
@media (min-width: 1024px) and (max-width: 1920px) {

html { background: red; } }

Related