【问题标题】:Flexbox setting for cordova on samsung galaxy tab + android 4.1.2三星galaxy tab + android 4.1.2上cordova的Flexbox设置
【发布时间】:2013-11-20 23:26:27
【问题描述】:

我正在努力使用 flexbox css 在银河选项卡 + android 4.1.2 上设置科尔多瓦应用的样式

这是我使用的 css

.container {
    /*display: flex;
    display: -webkit-box;*/
    display: -webkit-flex;
    /*justify-content: space-between;*/
    -webkit-justify-content: space-between;
    width: 83%;
    margin-left: auto;
    margin-right: auto;
}

结果如下

当我期望的时候

知道为什么模拟器和真实设备之间的 css 不同吗?

谢谢!

【问题讨论】:

    标签: android css cordova flexbox


    【解决方案1】:
    .container {
        display: -webkit-box;
        -webkit-box-pack: justify;
        width: 83%;
        margin-left: auto;
        margin-right: auto;
    }
    

    成功了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-12-29
      • 2014-01-10
      相关资源
      最近更新 更多