开发者

how do i make it so that zooming in on the android doesnt change the size of the text

开发者 https://www.devze.com 2023-03-12 23:46 出处:网络
I am making CSS voice bubbles, and I fit the text to the bubbles using em to set the text size, but now when I zoom in the text changes size too and it overflows out of the bubble.I don\'t want to set

I am making CSS voice bubbles, and I fit the text to the bubbles using em to set the text size, but now when I zoom in the text changes size too and it overflows out of the bubble. I don't want to set the text size with 开发者_如何学JAVApx because I want it to be cross-browser accessible, so is there a way to make it so the text doesn't scale itself to always fit the screen?


i think you should use % instead of em.

here is the article http://kyleschaeffer.com/best-practices/css-font-size-em-vs-px-vs-pt-vs/

0

精彩评论

暂无评论...
验证码 换一张
取 消