I achieve uniform size on PC, Keon and Peak by using these media queries in my CSS:

@media screen and (orientation:portrait) {

    html{

        font-size: 5vw;

    }

}

@media screen and (orientation:landscape) {

    html{

        font-size: 5vh;

    }

}

@media only screen and (min-resolution: 90dpi) and (min-width: 540px){

    html{

        font-size: 150%;

    }

}


Then you only have to change the units for everything to 'rem', which is relative to html tag's font size.

_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to