---
## Basics
-
{: .-three-column}
### Selectors
font-weight: bold;
}
```
-
{: .-setup}
| Selector | Description |
| `:last-child` |
| `:nth-child(2)` |
| `:only-child` |
-
{: .-left-align}
## Fonts
-
{: .-left-reference}
### Properties
| --- | --- |
| `text-align:` | `left` `right` `center` `justify` |
| `text-transform:` | `capitalize` `uppercase` `lowercase` |
-
{: .-key-values}
### Shorthand
-
{: .-prime}
| | style | weight | size (required) | | line-height | family |
| ------- | -------- | ------ | --------------- | --- | ----------- | ----------------- |
| `font:` | `italic` | `400` | `14px` | `/` | `1.5` | `sans-serif` |
| | style | weight | size (required) | | line-height | family (required) |
-
{: .-css-breakdown}
### Example
```
## Background
-
{: .-left-reference}
### Properties
| `background-clip:` | `border-box` `padding-box` `content-box` |
| `background-repeat:` | `no-repeat` `repeat-x` `repeat-y` |
| `background-attachment:` | `scroll` `fixed` `local` |
-
{: .-key-values}
### Shorthand
| `background:` | `#ff0` | `url(bg.jpg)` | `left` | `top` | `/` | `100px` `auto` | `no-repeat` | `fixed;` |
| `background:` | `#abc` | `url(bg.png)` | `center` | `center` | `/` | `cover` | `repeat-x` | `local;` |
| | color | image | positionX | positionY | | size | repeat | attachment |
-
{: .-css-breakdown}
### Multiple backgrounds
```
## Animation
-
{: .-left-reference}
### Properties
| `animation-direction:` | `normal` `reverse` `alternate` `alternate-reverse` |
| `animation-fill-mode:` | `none` `forwards` `backwards` `both` `initial` `inherit` |
| `animation-play-state:` | `normal` `reverse` `alternate` `alternate-reverse` |
-
{: .-key-values}
### Shorthand
| ------------ | -------- | -------- | --------------- | ------- | ---------- | ------------------- | --------- | ---------- |
| `animation:` | `bounce` | `300ms` | `linear` | `100ms` | `infinite` | `alternate-reverse` | `both` | `reverse` |
| | name | duration | timing-function | delay | count | direction | fill-mode | play-state |
-
{: .-css-breakdown}
### Example