Get our posts emailed to you with our monthly newsletter, subscribe here.

A majority of web designers and developers are incorporating responsive design into their new and existing projects. The need to create responsive designs is growing exponentially as more and more devices and browser sizes are being used to browse your website.

Divi WordPress Theme

Using Media Queries

You can easily target various different devices or screen sizes using either multiple media queries or a more generic media query. I thought it would be handy of I listed a selection of media queries to help you target iPhones and iPads.

iPhone Media Query

@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) {
    /* Your CSS */
}

iPhone 5 Media Query

@media only screen and (min-device-width: 640px) and (max-device-width: 1136px) and (-webkit-min-device-pixel-ratio: 2) {
    /* Your CSS */
}

iPad Portrait & Landscape Media Query

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  { 
	/* Your CSS */
}

Retina iPad Media Query

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 2) { 
	/* Your CSS */
}

iPad Mini Media Query

@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (-webkit-min-device-pixel-ratio: 1)  { 
	/* Your CSS */
}

Sites Utilising Media Queries

Time to now go and play, take a look at these awesome responsive sites and have fun resizing your browser or viewing them on your mobile device.

The Great Discontent

25 Examples Of Responsive Website Design Done Right

Tilde

25 Examples Of Responsive Website Design Done Right

Modern Green Home

25 Examples Of Responsive Website Design Done Right

Printgram

25 Examples Of Responsive Website Design Done Right

Always Creative

25 Examples Of Responsive Website Design Done Right

Lotta Nieminen

25 Examples Of Responsive Website Design Done Right

Pocillo

25 Examples Of Responsive Website Design Done Right

Paravel inc

25 Examples Of Responsive Website Design Done Right

Trent Walton

25 Examples Of Responsive Website Design Done Right

Rally Interactive

25 Examples Of Responsive Website Design Done Right

Erik Ford

25 Examples Of Responsive Website Design Done Right

Bond Fire

25 Examples Of Responsive Website Design Done Right

Sagmeister & Walsh.

25 Examples Of Responsive Website Design Done Right

Designed To Move

25 Examples Of Responsive Website Design Done Right

Fly Wheel

25 Examples Of Responsive Website Design Done Right

Galão

25 Examples Of Responsive Website Design Done Right

Your Karma

25 Examples Of Responsive Website Design Done Right

Ink

25 Examples Of Responsive Website Design Done Right

Steve Zeidner

25 Examples Of Responsive Website Design Done Right

Hero

25 Examples Of Responsive Website Design Done Right

Lorenzo Verzini

25 Examples Of Responsive Website Design Done Right

Roy Barber

25 Examples Of Responsive Website Design Done Right

MATTHEW CARLETON

25 Examples Of Responsive Website Design Done Right

Otter Surf Boards

25 Examples Of Responsive Website Design Done Right

UNBORNINK

25 Examples Of Responsive Website Design Done Right