Especially for mobile browsers, it’s a pain in the ass. A recent project I worked on was that there was a bug in webkit a few years ago. That is, when the margin is set with a percentage, the relative value is height instead of width, while the standard is width. . The frustrating thing is that the webkit kernel of many domestic mobile browsers is a bit old, basically from a few years ago. Except for Baidu Browser and Xiaomi's own browser, which use relatively new kernels, everyone else has this bug.
Your project team is really awesome
There is something called html5.js
It can only be downgraded gracefully. . Use hacks or something to achieve basic effects.
Especially for mobile browsers, it’s a pain in the ass. A recent project I worked on was that there was a bug in webkit a few years ago. That is, when the margin is set with a percentage, the relative value is height instead of width, while the standard is width. . The frustrating thing is that the webkit kernel of many domestic mobile browsers is a bit old, basically from a few years ago. Except for Baidu Browser and Xiaomi's own browser, which use relatively new kernels, everyone else has this bug.