search

Home  >  Q&A  >  body text

android - 安卓微信不支持flex 布局

之前一人做的手机端的网页,用了大量的flex布局。在Android和iphone显示也正常,由于做微信开发,发现了微信不支持这种布局方式,请问有什么好的解决办法吗。

PHP中文网PHP中文网2767 days ago614

reply all(6)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 17:16:19

    http://segmentfault.com/a/1190000003978624
    New version of webkit and old version of webkit mixed flex writing method

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 17:16:19

    WeChat on Android uses the X5 kernel of QQ browser and supports the old version of flex layout. Recommended manual website: http://css.doyoe.com/properties/flexible-box/index.htm

    reply
    0
  • 迷茫

    迷茫2017-04-17 17:16:19

    flex child elements require display: block

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-17 17:16:19

    You can try using: https://github.com/1340641314/flex
    You can quickly build a flex layout, it is simple and easy to use, and it is compatible with WeChat.

    reply
    0
  • PHPz

    PHPz2017-04-17 17:16:19

    Does the questioner have an answer? ?

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:16:19

    Have you solved it now? I also encountered the same problem

    reply
    0
  • Cancelreply