css - Target iPhones, ipads and Android devices separately -


is there way target iphones, ipads , android devices separately using css media queries?

you can query screen sizes, not separate oss this:

@media screen , (max-width: 1200px) {...} // e.g. tablets @media screen , (max-width: 950px)  {...} // e.g. phablets @media screen , (max-width: 750px)  {...} // e.g. phones 

if need detection of browsers or operating systems, consider using javascript library platform.js


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -