CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
I have some CSS3 animated hover states on my website that don’t function so great on mobile (no surprise), how do I write a media query to target only devices?
When you write a media query, make sure to use `min-device-width` and `max-device-width` instead of `min-width` and `max-width`.
This reply has been reported for inappropriate content.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed