---
# System prepended metadata

title: CSS
tags: [CSS]

---

---
tags: CSS
---
# CSS

## [`text-indent`](https://www.w3schools.com/cssref/pr_text_text-indent.asp)

用於文字的縮排，正負值都接受。

```css
p {
  text-indent: 2em;
}
```

![](https://i.imgur.com/Dj9bbOq.png)

```css
p {
  text-indent: -1em;
}
p .fas {
  width: 1em;
  margin: 0;
  padding: 0;
  text-indent: 0em;
}
```

![](https://i.imgur.com/BkUBmyv.png)

## [`word-spacing`](https://www.w3schools.com/cssref/pr_text_word-spacing.asp)

空白的寬度。

![](https://i.imgur.com/TUOEWcf.png)

## [`direction`](https://www.w3schools.com/cssref/pr_text_direction.asp)

![](https://i.imgur.com/MNSnzwU.png)

| Value | Description |
|-------|-------------|
| ltr | Text direction goes from left-to-right. This is default |

