: How to scale a web page for different resolutions? I have a web-page for devices(smartphones/tablets). I have used media queries to make it responsive and have used rem units for all measurements.
I have a web-page for devices(smartphones/tablets).
I have used media queries to make it responsive and have used rem units for all measurements.
I have set default html/body font-size:62.5% and then calculated all other rem units.
Also for each breakpoint i have a set of css.
But it seems that the font size and other element doesn't scale as the resolution increases.
What should i do to make it good? or What else i am missing here?
More posts by @Angie364
1 Comments
Sorted by latest first Latest Oldest Best
Use width:100%; for the full screen / div in your web page and if you mean responsive use this code for ipad / phone
@media only screen and (max-width : 768px // for ipad
480 //for> phone){
}
And set this in your html file to read the responsive css
< meta content="initial-scale=1, minimum-scale=1, width=device-width"
name="viewport" >
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.