Current Dilemma:
Currently working on making a website adaptive for my job. I have successfully adjusted the media queries and CSS for my 2012 non-retina MacBook Pro and iPhone retina screens. However, when I tested the site on a MacBook Pro with retina display at Best Buy, it was pulling in the CSS meant for the iPhone retina screen. The media query I am using to target iPhones is:
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5) and (orientation:portrait),
only screen and (min-device-pixel-ratio : 1.5) and (orientation:portrait) {}
I have found solutions for testing high-resolution sites on low-resolution screens, but they only involve doubling the resolution without considering the media queries.
1) Am I using the correct media query for my goal? 2) (more importantly) Is there a way for me to preview how my site appears on hi-res laptops?
(I am limiting my testing to iPhone screens at the moment due to lack of different devices and confidentiality agreements preventing me from posting the site publicly. Please let me know if there are other key code segments needed for a thorough answer)
Thank you!