Answer the question
In order to leave comments, you need to log in
Should @media be set to only screen ?
1) @media (min-width: 480px) and (max-width: 768px) {
}
2) @media only screen and (min-width: 480px) and (max-width: 768px) {
} Which
is correct?
Answer the question
In order to leave comments, you need to log in
The first option is specified for all output devices (TV, phones, screens, print version, ...), and in the second you specify "only screen" - only for monitors. In this case, the rules in the body of the media request will be ignored when opened from any other output devices.
Article about media queries
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question