Media Queries for Standard Devices | CSS-Tricks

In CSS by bchesleyLeave a Comment

Handy reference for this often needed CSS code.

/* Portrait */ @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { }

Source: Media Queries for Standard Devices | CSS-Tricks

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.