ChristianOellers / Parallax-Animation-Effect

Horizontal parallax effect with a subtle, intentional delay. Resizing based on windows size. Intended for use on Desktop websites with layered creative design elements.

Home Page:https://christianoellers.github.io/Parallax-Animation-Effect/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallax Animation Effect

Window-resize parallax





About

A subtle window-resize based parallax effect created for a real website as secret feature in the footer section.



Examples

Find the live demo here:



How to use

  1. Make sure to view it in wide viewport - like 1920×1080px - or zoom out to see the full animation.
  2. Resize the window slowly (let's say about 50-100px per step) and wait a little – like 1 sec. – after each step. The parallax animation will slowly follow the resize direction.

The animation will only start if the window is smaller than 1900px but wider than 1000px. This is to keep the footer element always in the centre (see screenshot).

About

Horizontal parallax effect with a subtle, intentional delay. Resizing based on windows size. Intended for use on Desktop websites with layered creative design elements.

https://christianoellers.github.io/Parallax-Animation-Effect/

License:MIT License


Languages

Language:JavaScript 50.7%Language:CSS 28.6%Language:HTML 20.7%