黄舟2017-04-17 12:05:45
Use media query @media to change the font size, so the mobile phone and PC will not affect each other.
It is recommended to use REM, you can set html{font-size:100%}
Then if you change the root element html, the font size of other sub-elements will be automatically calculated and changed, which is easier to manage, unlike px one by one, calculation comparison convenient.
If you have more things, you can use sass and less.