Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] allow zoom without affecting layout Reply To: [Solved] allow zoom without affecting layout

#171664
randy
Participant

Hi Paulie,

I just found that this works but it does not allow zooming, do you have any ideas on how can we allow user scaling for this? Thanks.

@media screen and (max-width: 400px) {
@-ms-viewport { width: 320px; }
/* CSS for 320px layout goes here */
}

@media screen and (min-width: 400px) and (max-width: 640px) {
@-ms-viewport { width: 400px; }
/* CSS for 400px layout goes here */
}

@media screen and (min-width: 640px) and (max-width: 1024px) {
@-ms-viewport { width: 640px; }
/* CSS for 640px layout goes here */
}

@media screen and (min-width: 1024px) and (max-width: 1366px) {
@-ms-viewport { width: 1024px; }
/* CSS for 1024px layout goes here */
}

@media screen and (min-width: 1366px) {
/* CSS for 1366px layout goes here */
}