【问题标题】:Metro UI - add margins between buttons aligned to the rightMetro UI - 在向右对齐的按钮之间添加边距
【发布时间】:2017-03-19 20:08:58
【问题描述】:

我对 Metro UI 框架完全陌生,我目前正在“努力”在 2 个按钮之间添加一个简单的边距。

http://prntscr.com/e8acp3

这是当前的代码:

http://prntscr.com/e8ajcd

如何在右侧的 2 个按钮之间添加一个简单的边距?

【问题讨论】:

  • 没关系 - 最后我决定更改 HTML 结构,如图所示。 prntscr.com/e94znq 还是谢谢

标签: html css metro-ui-css


【解决方案1】:

使用helper classes。您可以添加边距,然后关闭不需要的边距:

<button class="button secondary place-right margin10 no-margin-right no-margin-top no-margin-bottom">
    Book off
</button>

很遗憾,Metro UI 不提供特定的左/右/上/下边距。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-08-24
    • 2017-06-13
    • 1970-01-01
    • 1970-01-01
    • 2015-10-06
    • 2015-09-20
    • 1970-01-01
    相关资源
    最近更新 更多