Can flex layout be fully used in mobile hybrid development without compatibility issues? Is there no compatibility problem with flex in Wechat? Thank you

can css3"s flex layout be fully used in mobile hybrid development without compatibility issues? Is there no compatibility problem with flex in Wechat?

Mar.09,2021

can answer your situation in Wechat. In 15 or 16 years, I used flex layout in Wechat with autoprefixer , no problem.


flex and box layout ios most models can adapt to the minimum iPhone 4s Android 4.0 or above.


is used all the time in my project.

I'll show you the screenshot directly!

clipboard.png

in fact, this kind of question goes directly to caniuse and a search will make it very clear


webpack + postCss + autoprefixer + css (sass or less) are packaged and compiled, and the style attributes are automatically prefixed with compatible prefixes. For example, if you only need to write: display: flex, and then compile it, you will automatically add compatibility:-webkit-display: content-box;

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b366fc-2c02a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b366fc-2c02a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?