Mobile app version of vmapp.org
Login or Join
Angie364

: 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.

@Angie364

Posted in: #ResponsiveDesign #Scale #WebsiteDesign

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angie364

1 Comments

Sorted by latest first Latest Oldest Best

 

@XinRu324

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" >

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme