---
title: "CSS Image Transitions on Scroll"
url: "https://wicky.co/css-image-transitions-on-scroll/"
type: "post"
published: "2022-09-23T09:09:02-04:00"
modified: "2022-09-23T09:09:02-04:00"
author: "wicky"
---

In this Elementor tutorial I will show you how to add CSS transitions to your images on scroll.

This tutorial will be using some lightweight JavaScript and CSS code, so this will be a little more advanced of a tutorial. But don’t worry I will walk you through everything and explain how things work as we go.

**CSS Transition Website:**
[https://www.transition.style/](https://www.transition.style/)

**Timestamps:**

- 0:00 Introduction
- 1:32 Assign CSS Classes
- 3:09 Add JavaScript Code
- 6:51 Add CSS Code

## JavaScript Code:

```

```

## CSS Code:

```

					@keyframes wipe-in-up {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.imagewipe {
  animation: 5s cubic-bezier(.25, 1, .30, 1) wipe-in-up both;
}

@keyframes square-in-hesitate {
  40% {
    clip-path: inset(33% 33% 33% 33%);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
.hesitate {
  animation: 1s cubic-bezier(.25, 1, .30, 1) square-in-hesitate both;
}

@keyframes circle-in-center {

  to {
    clip-path: circle(100%);
  }
}

.circlegrow {
  animation: 20s cubic-bezier(.25, 1, .30, 1) circle-in-center both;
}

```
