Media queries - targeting specific devices together
问题 I've got a devices stylesheet that is loaded to deal with responsive design in a website, but I'm struggling to group a couple different media queries exactly how I want. I've got a shared set of styles for a small web window, a mobile device at any rotation and an iPad in portrait only. At the moment I'm getting everything except the iPad with this query: @media all and (max-device-width: 480px), all and (max-width: 480px) I'm getting the iPad in portrait with this code: @media only screen