Mobile app version of vmapp.org
Login or Join
Welton855

: What are the most frequent viewport sizes to use in responsive design? I see differnt suggestions from very detailed (like here) to more brief, like google (here). so I am wondering what are

@Welton855

Posted in: #MediaQueries #ResponsiveWebdesign

I see differnt suggestions from very detailed (like here) to more brief, like google (here). so I am wondering what are the most suitable sizes to be used @media screen.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Welton855

2 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

I guess this depends on the design, which might differ each build. It also depends if your using 100% fluid or changing on breakpoints.

I tend to use some of the following, generally the large sizes don't change much at all between breakpoints:
@media screen and (min-width:320px){} // mobile portrait @media screen and (min-width:480px){} // mobile landscape @media screen and (min-width:768px){} // ipad portrait @media screen and (min-width:1024px){} // browser, ipad landscape @media screen and (min-width:1200px){} // browser @media screen and (min-width:1600px){} // browser


No point trying to cover all the different android etc resolutions...there are so many.

Also sometimes the breakpoints don't trigger on the actual size due to the scrollbar, which each browser has different rules for. Might be wise to cut off 20px per @media to make sure they trigger. I sometimes swap the min-width:320px for a max-width: 480px, as under 320 nothing might be displayed.

10% popularity Vote Up Vote Down


 

@Rivera981

This may not a “stat”, but take a look at Twitter Bootstrap that is starting to be used a lot.
github.com/twitter/bootstrap/blob/master/less/responsive.less
In short:


<= 767px
768px – 979px
980px – 1199px
>= 1200px

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme