# Animate parts of a page with CSS

> In this article we'll walk through how you can easily add animations to your pages with some custom CSS.

Source: https://tadabase.com/docs/learn/animate-parts-of-a-page  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

In this article we'll walk through how you can easily add animations to your pages with some custom CSS.

![Screenshot for “Animate parts of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/loading-animation'.gif)

### Adding Animations

To add animations to your page, you can use external animation libraries. For instance, for the purpose of this article we'll use a particular library from [animate.css](https://animate.style/), however there are dozens of animation libraries out there for you to choose from. We'll just cover the basics for this article, however feel free to check out the documentation portals for animate.css or any other library for their extensive animation options.

### Add Library

Start by adding the CSS library to the header section of your app located under **Settings** > **Custom Header/Footer Code** > **Custom Header Code.**

Copy the following code:

```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"/>
```

And paste it into the **Custom Header Code** section of your app:

![Screenshot for “Animate parts of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/scaled-1680-/image-1593820492340.png)

### Apply Animation

Next, open the edit option for the row, column or component to apply the animation to:

![Screenshot for “Animate parts of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/scaled-1680-/image-1594057041811.png)

Add the following to the "Additional Class Names": `animate__animated animate__rollIn`

![Screenshot for “Animate parts of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/scaled-1680-/image-1594056986114.png)

Each element that must be animated must first have the '`animate__animated'` class and then a space with the animation type.

Some example animations you can choose from:

- fadeIn
- fadeInDown
- fadeInDownBig
- fadeInLeft
- fadeInLeftBig
- fadeInRight
- fadeInRightBig
- fadeInUp
- fadeInUpBig
- fadeInTopLeft
- fadeInTopRight
- fadeInBottomLeft
- fadeInBottomRight See [this page](https://animate.style/) for full list of animations.

As you can see below, we applied the `animate_rollIn` to the component id which will load the page and apply that animation:

![Screenshot for “Animate parts of a page”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-07/loading-animation'.gif)
