Image FXcssimagelab.com
3D · 56 / 60

Pivot Swing

The photo swings toward you on a left-edge hinge like a hanging signboard, then settles.

Image
Green natural landscape

Hover to swing the panel on its hinge.

Adjust
900px
16deg
620ms
Metadata
interaction
Hover · static fallback
browser
Modern evergreen
reduced motion
included
touch fallback
Static on touch
Edit the CSS above — the preview updates live.

About Pivot Swing

Pivot Swing hinges the photo on its left edge and swings it toward the viewer on hover or keyboard focus, like a hanging signboard, with a soft spring settle and a drop shadow for depth. It swings OUTWARD past the right edge, so the card sets overflow: visible and needs surrounding room — give the wrapper margin (roughly the swing depth) so it doesn't clip or overlap neighbors. Tune --ifx-depth (perspective — lower is more dramatic), --ifx-angle (keep it modest, ~12-20deg, or the plane foreshortens too far), and --ifx-duration/--ifx-ease (the Spring easing supplies the settle). It rests flat on touch and under reduced motion; keep the @media (hover) wrapper and :focus-within selector.

Use cases

  • portfolio
  • gallery
  • hero
  • product

Browser support

Modern evergreen. Give the figure surrounding space (a wrapper margin).

Accessibility

  • Essential content is never hidden behind hover.
  • Includes a prefers-reduced-motion fallback.
  • Touch fallback: static on touch.
  • Keyboard accessible — the effect also triggers on focus-within.