Data Glasses
Top Contributor
I have been wondering a bit about making a site to be responsive and i have come across the
<meta name="viewport" content="width=device-width, scale=initial-1">
Although i did the examples below as an alternative to the above (used together as shown)
<meta name="viewport" content="width=device-width"
<meta name=“viewport” content=“initial-scale=1”>
~
I am reading people get different results with this meta tag depending on what device they are using at the time. So what is the best solution ??
Also i am seeing different variations of the .css declaration blocks
@viewport{
zoom: 1.0;
width: device-width;
@viewport{
zoom: 1.0;
width: extend-to-zoom;
}
@-ms-viewport{
width: extend-to-zoom;
zoom: 1.0;
}
I was wondering what do you guys use as a 'standard' ? My crappy little phone does not really get used for mobile browsing but i would like to know what is considered best practice so i can apply it to any of my sites
~
Thanks in advance!
<meta name="viewport" content="width=device-width, scale=initial-1">
Although i did the examples below as an alternative to the above (used together as shown)
<meta name="viewport" content="width=device-width"
<meta name=“viewport” content=“initial-scale=1”>
~
I am reading people get different results with this meta tag depending on what device they are using at the time. So what is the best solution ??
Also i am seeing different variations of the .css declaration blocks
@viewport{
zoom: 1.0;
width: device-width;
@viewport{
zoom: 1.0;
width: extend-to-zoom;
}
@-ms-viewport{
width: extend-to-zoom;
zoom: 1.0;
}
I was wondering what do you guys use as a 'standard' ? My crappy little phone does not really get used for mobile browsing but i would like to know what is considered best practice so i can apply it to any of my sites
~
Thanks in advance!