# Unit (rem)

## Rem

{% hint style="info" %}
1rem = 10px
{% endhint %}

Ex:\
With pixel:

```
h1 {
    font-size: 32px;
}
```

With rem:

```
h1 {
    font-size: 3.2rem;
}
```

##
