Nav Bar Shadow on Scroll

4 variations — scroll inside each preview to see the animation

V1 — Opacity Fade

A gradient div below the nav fades from 0 to full opacity over 60px of scroll. Simple and smooth.

HGSE|AI Commons
ForumsProjectsEventsResourcesSign Out

V2 — Expanding Height

Shadow gradient starts at 0 height and grows to 16px as you scroll. Creates a 'peeling off the page' feel.

HGSE|AI Commons
ForumsProjectsEventsResourcesSign Out

V3 — Box Shadow Toggle

No extra element — a CSS box-shadow on the nav itself toggles on after 8px of scroll. Clean binary transition with a smooth ease.

HGSE|AI Commons
ForumsProjectsEventsResourcesSign Out

V4 — Warm Border + Gradient

Two layers: a thin crimson-tinted line appears immediately, then a warm gradient fades in behind it. Matches the 'warm professional' design language.

HGSE|AI Commons
ForumsProjectsEventsResourcesSign Out