search

Home  >  Q&A  >  body text

flexbox - android webview 不支持css3 flex布局 怎么办?

我写的一个页面 用在app内嵌网页 用webview打开的 但是布局不支持
我是该放弃flex布局 重新写吗?

高洛峰高洛峰2773 days ago717

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 14:56:10

    You can use display:box and display:flex together to achieve support. I have written an article before (detailed explanation of flex mixed writing), which has detailed instructions. I hope it will be helpful to you.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 14:56:10

    Android 4.4 or above supports display:flex. Lower versions do not support it.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 14:56:10

    You can use display:-webkit-box similar to flex layout

    reply
    0
  • Cancelreply