#rem替换px

相关标签
lineheight reviewboard formatnumber NtCreateFile JSPatch SQL Smallint Postgres PropertyInfo PropertyName impress.js checklistbox bulkinsert cssfilter RewriteCond orphanRemoval SQLiteDev 文字转语音 语音合成 语音转文字 语音识别

vue中怎么使用rem替换px

2023-06-30 11:16:57

在Vue中使用rem替换px的步骤如下:1. 在`index.html`文件中设置根元素的字体大小为屏幕宽度的1/10。2. 在`main.js`文件中添加监听窗口大小变化的事件,并重新计算根元素的字...

0