Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Media Query

Featured Replies

Hey guys, I'm using bootstrap and their default media queries are as follows.

 

@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){}
@media(min-width:1200px){}

 

Say I wanted to develop for screen sizes above 1200px, what would you suggest using as min / max width? Is there any rule of thumb for working out what the next value would be?

Hey guys, I'm using bootstrap and their default media queries are as follows.

 

@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){}
@media(min-width:1200px){}

 

Say I wanted to develop for screen sizes above 1200px, what would you suggest using as min / max width? Is there any rule of thumb for working out what the next value would be?

 

Entirely down to you and the actual content. If you're using SVG for your images, then you're sorted. For text, you should measure your reading lengths and adjust accordingly. Ideally it's always great if you have the physical devices to fine tune everything, but I suppose you could target for HDTV resolutions such as 1920. Personally I don't have a rule of thumb as a lot of the breakpoints I use sometimes max out at 1600px

 

Of course it all depends. I sometimes target around the 1600 mark, well, I use ems rather than pixels for measurement. Other times setting a container (if you use one) with a width of 95% with a max-width of 1600px can work, but I'm just going to repeat the same thing - depends on the content. Test test test ;)

I would like to add mixing min-width and max-width media queries could also work very well in some cases.

At least I find it very handy - not strictly desktop first, but also not strictly mobile first.

  • 4 months later...

There is not any restrictions to use size of the device width.

 

If your screen resolution is above 1200px , you can mension the media query

 

@media screen and (min-width 1200px) and (max-width 1400px) { }

 

you can set the with depends upon you screen size.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.