<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
PHP中文网2017-04-17 14:35:19
You have to write the font adaptation yourself. The most commonly used mobile font unit now is rem. You can try it. If you just want to distinguish between several resolutions and set different fonts, the simplest way is to use media queries ^ - ^
ringa_lee2017-04-17 14:35:19
Your piece of code is just a header tag, use rem or em instead of px, and the font size should also be added to the body of the css