# 如何为内容添加边距？

**URL:** https://meta.discourse.org/t/how-can-i-add-margin-to-content/236353
**Category:** Development
**Created:** [2022年八月16日 20:37 UTC](https://meta.discourse.org/t/how-can-i-add-margin-to-content/236353 "2022-08-16T20:37:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![grousx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grousx/32/269630_2.png) [@grousx](https://meta.discourse.org/u/grousx)
#### Post date: [2022年八月16日 20:37 UTC](https://meta.discourse.org/t/how-can-i-add-margin-to-content/236353/1 "2022-08-16T20:37:39Z")

</div>

我想让“tick”图标稍微向下移动。我尝试了 `margin-bottom: 3px` 等，但它调整的是边距边框，而不是图标。

 ![Screenshot_2022_0816_233554](https://global.discourse-cdn.com/meta/original/4X/6/3/d/63d77ed9a4d0c3e8c8a3cc56ccb8470caaf33b4c.png)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [2022年八月16日 21:12 UTC](https://meta.discourse.org/t/how-can-i-add-margin-to-content/236353/2 "2022-08-16T21:12:24Z")

</div>

和往常一样，使用浏览器的检查器来识别元素和 CSS 类…
