# Scale
Scale transforms can be used to zoom elements in and out.
> [!NOTE]
> You also need to apply [`animate-in`][Animate_in] or [`animate-out`][Animate_out] classes respectively.
## `zoom-in-*`
| Class |
Styles |
|
`zoom-in`
|
```css
--tw-enter-scale: 0;
```
|
|
`zoom-in-`
|
```css
--tw-enter-scale: %;
```
|
|
`zoom-in-()`
|
```css
--tw-enter-scale: var();
```
|
|
`zoom-in-[]`
|
```css
--tw-enter-scale: ;
```
|
## `zoom-out-*`
| Class |
Styles |
|
`zoom-out`
|
```css
--tw-exit-scale: 0;
```
|
|
`zoom-out-`
|
```css
--tw-exit-scale: %;
```
|
|
`zoom-out-()`
|
```css
--tw-exit-scale: var();
```
|
|
`zoom-out-[]`
|
```css
--tw-exit-scale: ;
```
|
[Animate_in]: ../animations/in-out.md#animate-in
[Animate_out]: ../animations/in-out.md#animate-out