weex icon indicating copy to clipboard operation
weex copied to clipboard

space-around 没效果

Open AndyFightting opened this issue 9 years ago • 1 comments

代码如下:

<template>
    <div class="container">
        <text>第一个</text>
        <text class="text">第2个</text>
        <text>第三个</text>
        <text class="text">第4个</text>

    </div>
</template>
<style>
    .container{
        flex-direction: row;
        justify-content: space-around;
        background-color: aliceblue;
    }
    .text {
       background-color: red;
    }

</style>

AndyFightting avatar Dec 23 '16 05:12 AndyFightting

space-around 目前的兼容性不够好,所以官方并没有推荐使用,目前支持比较好的类似属性值是 space-between 感谢理解

Jinjiang avatar Dec 23 '16 12:12 Jinjiang