Home  >  Q&A  >  body text

PX automatic conversion to REM error

<style>html { font-size: calc(100vw / 3.75); }

body { font-size: 0.16rem; }</style>

< div class="box">hello php.cn</div>

/* The plug-in in the video is installed, and the automatically converted value of 200px is 12.5rem. It is calculated based on 16PX in the body. + izing: border- box; }</style>

凡人凡人98 days ago4183

reply all(0)I'll reply

No reply
  • Cancelreply