Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @media only screen and (max-device-width: 480px) {}
- @media only screen and (min-device-width: 640px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
- /* iPhone 5 only */
- }
- @media only screen and (max-device-width: 480px), only screen and (min-device-width: 640px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
- /* iPhone only */
- }
- @media
- only screen and (max-device-width: 1136px) and (min-device-width: 960px) and (device-height: 640px),
- only screen and (max-device-height: 1136px) and (min-device-height: 960px) and (device-width: 640px) {
- /* iPhone only */
- }
- only screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)
- @media screen and (device-height: 568px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
- // css here
- }
- @media only screen and (max-device-width: 480px), only screen and (min-device-width: 640px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 1.5) {
- /* iPhone only */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement