rem is mainly used to control font size. Of course, it can also be used to control height and width (not recommended personally). makegrid is more controlled from the layout (I don’t like this way of handling adaptation through calculation)
Personally, I think using rem is enough to adapt to the mobile phone. However, it is not recommended to use rem to change the font size. It is best only used for the layout of the frame.
I also think rem is enough, that’s what Meituan does. As for flexible.js + makegrid.js, I haven’t used them yet. I’ll go take a look that day.
rem is mainly used to control font size. Of course, it can also be used to control height and width (not recommended personally).
makegrid is more controlled from the layout (I don’t like this way of handling adaptation through calculation)
Personally, I think using rem is enough to adapt to the mobile phone. However, it is not recommended to use rem to change the font size. It is best only used for the layout of the frame.