聚合物 - 右对齐 paper-tabs
Polymer - right justify paper-tabs
对于 paper-tabs
,我试图在 paper-toolbar
中将容器对齐...因此 title
在左侧,paper-tabs
在右边。我使用 justify-content: flex-end;
但没有成功。
http://jsbin.com/girenekava/1/edit?html,output
请确保不要为 paper-tabs
children 启用 flex,因为我是故意禁用的。
把class'title'放在你的div有头衔的人里,像这样:
<div class="title">
Title
</div>
对于 paper-tabs
,我试图在 paper-toolbar
中将容器对齐...因此 title
在左侧,paper-tabs
在右边。我使用 justify-content: flex-end;
但没有成功。
http://jsbin.com/girenekava/1/edit?html,output
请确保不要为 paper-tabs
children 启用 flex,因为我是故意禁用的。
把class'title'放在你的div有头衔的人里,像这样:
<div class="title">
Title
</div>