如何在工具栏中的其他两个按钮之间居中一个按钮?
这是我的代码和生成的屏幕截图
<div id="toptoolbar">
<button class="toolbar-button">
<i class="fa fa-comments" style="font-size:17px"></i>
</button>
<button class="toolbar-button">
My title
<!-- text-purple center-block doesn't work -->
</button>
<button class="toolbar-button pull-right">
<i class="fa fa-ellipsis-v" style="font-size:17px"></i>
</button>
</div>
我正在使用 OnsenUI(并将与它一起使用 VUE)所以我可以从引导程序或 OnsenUI 包含的任何其他框架中简单地添加一个类吗?
或者我可以使用一些自定义 CSS 来做到这一点吗?
与此问题类似,但使用 OnsenUI 和 Monaca(对 ios 和 android 都很好)