Kirk Ouimet
Kirk Ouimet

Reputation: 28364

CSS to Target Anything Larger than a Smart Phone

There are a few questions on Stack Overflow targeting specific phones, but I'm wondering if there is a trusted media query to target anything bigger than a handheld smartphone.

Excluded:

Included:

Is this rule reliable?

@media only screen and (min-device-width: 481px) {
}

Upvotes: 0

Views: 118

Answers (1)

Zoltan Toth
Zoltan Toth

Reputation: 47667

This will be better

@media only screen and (min-width: 600px) {

}

because there are a lot of handheld devices with 540px width, but no tablets under 600px I'm aware of

Upvotes: 1

Related Questions