1. 程式人生 > >居中自定義長度三欄佈局

居中自定義長度三欄佈局

   <div style="display:flex;justify-content: center;">
        <div style="text-align:right;display: flex;align-items: center;padding-right:5px;">
            <i class="iconfont icon-sangeyuandian"></i>
        </div>
        <div style="text-align:center;max-width:80%" > {{item.liabLabel}}</div>
        <div style="text-align:center;display: flex;align-items: center;padding-right:5px;" class="totate">
            <i class="iconfont icon-sangeyuandian"></i>
        </div>
    </div>