search

Home  >  Q&A  >  body text

javascript - How to ensure that my js file is executed first?

When I searched for the flexible library by hand, every time I refreshed it, the font size would become larger and then normal. Is there any way to ensure that the flexible library starts executing first? Ensure that the font size will not become larger when refreshed and then return to normal?

ringa_leeringa_lee2781 days ago566

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-19 10:42:49

    Put the js on the body and try it

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-19 10:42:49

    You also use rem for fonts? Just write px as the font, and at most add a few breakpoints for different widths.

    reply
    0
  • Cancelreply