gpt4 book ai didi

html - 将纸图标按钮对齐到脚手架的右上角

转载 作者:太空宇宙 更新时间:2023-11-03 20:39:28 25 4
gpt4 key购买 nike

有... enter image description here

<core-scaffold id="core_scaffold">
<core-header-panel mode="seamed" id="core_header_panel" navigation flex>
<core-toolbar id="core_toolbar"></core-toolbar>
<core-menu valueattr="label" id="core_menu" theme="core-light-theme">
<core-item id="core_item" icon="settings" label="Item1" horizontal center layout></core-item>
<core-item id="core_item1" icon="settings" label="Item2" horizontal center layout></core-item>
</core-menu>
</core-header-panel>
<div id="div" tool>Title</div> <span flex tool></span>
<paper-icon-button icon="more-vert" id="paper_icon_button" tool></paper-icon-button>
</core-scaffold>

需要... enter image description here

尝试对齐按钮的末端并插入 <span tool flex></span> here .

Demo site .

最佳答案

我从一些文档中找到了这个:

<div horizontal end-justified layout>
<div>end-justified</div>
</div>

也许这可以帮助

来源:https://www.polymer-project.org/docs/polymer/layout-attrs.html

关于html - 将纸图标按钮对齐到脚手架的右上角,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28034924/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com