移动端自适应文字大小怎么处理
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
html<meta name="viewport" content="width=device-width, initial-scale=1" />
html
<meta name="viewport" content="width=device-width, initial-scale=1" />
The above is the processing to be done in html, and then relative font units such as em, %, rem, etc. are mostly used in css. Use px less as a unit. (Note, use less, not not use at all).
The above is the processing to be done in html, and then relative font units such as em, %, rem, etc. are mostly used in css. Use px less as a unit. (Note, use less, not not use at all).