About The Resource
I had a pretty easy job creating these cards since I just had to use some of the resources already available here at Framer University.
Parallax Hover
First, let's see how I achieved the parallax hover effect.
I divided the content of the card into three layers. We have the "Sky" in the background, the "Text" in the middle, and the "Castle" in the foreground.
Then, I used a slightly adjusted version of my parallax hover code override (you can copy it from below) to make these layers follow my cursor with different intensities.
The slight adjustment in the override includes two new properties: "maxOffsetX" and "maxOffsetY". I need these values so I can not only change the intensity of the cursor follow but also ensure that the images do not move beyond a certain point on the X axis to prevent revealing the edges of the foreground images.
As you can see in the image above, at the highlighted parts, you can change the intensity (10), maxOffsetX (400), and maxOffsetY (2000).
Blur Gradient
For the blur gradient, I simply used my component and placed it above the card's content so it blurs everything below it.
Step / 01
Remix the project.
Step / 02
See how it's built.
Step / 03
Try recreating it for practice, or copy and paste it to your project.
Parallax Hover Code Override
Feel free to copy the code override from below and create it for yourself in Framer from scratch.