What is the difference between these two instructions?
@media screen and (max-device-width: 480px) {}
and
@media only screen and (max-device-width: 480px) {}
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From http://www.w3.org/TR/css3-mediaqueries/
In real use scenarios, the
only screenquery is used to target specific mobile browsers that support modern CSS.From http://www.alistapart.com/articles/return-of-the-mobile-stylesheet
Even more clearly
From http://www.html5rocks.com/en/mobile/mobifying.html