/*ipad*/ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait){ } /*ipad mini*/ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 1){ } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 1){ } /*ipad Retina*/ @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) and (-webkit-min-device-pixel-ratio: 2){ } @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) and (-webkit-min-device-pixel-ratio: 2){ } /*iphone5*/ @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : landscape){ } @media only screen and (min-device-width : 320px) and (max-device-width : 568px) and (orientation : portrait){ } /*iphone4*/ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : landscape){ } @media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait){ }
css3 @media ipad/iphone4/iphone5/ipad mini/ipad Retina
最新推荐文章于 2022-12-23 19:07:51 发布