Skip to content

fix: add perspective and backface-visibility to .ease-flip#868

Open
Pcmhacker-piro wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/flip-3d-perspective-846
Open

fix: add perspective and backface-visibility to .ease-flip#868
Pcmhacker-piro wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/flip-3d-perspective-846

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

  • Added perspective: 1000px for proper 3D depth rendering
  • Added backface-visibility: hidden for Firefox/Safari support

Without these, the flip animation appears as a 2D squish
instead of a proper 3D rotation in Firefox and Safari.

Closes #846

Pull Request Description

.ease-flip uses ease-kf-flip (rotateY) but lacked perspective
and backface-visibility, making the animation appear flat in
Firefox and potentially showing the backside in WebKit.

Type of Change

  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)

3D rendering fix for .ease-flip animation.

Submission Checklist

N/A — this PR fixes core framework files, not a user submission.

Notes for Maintainer

Flip works best on elements with explicit width/height.
For complex 3D card flips, users may need a parent wrapper
with transform-style: preserve-3d.

- Added perspective: 1000px for 3D depth rendering
- Added backface-visibility: hidden for Firefox/Safari support

Without these, the flip animation appears as a 2D squish
instead of a proper 3D rotation on Firefox and Safari.

Closes SAPTARSHI-coder#846
@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SAPTARSHI-coder i fixed the assign issue so please check this

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

### .ease-flip Animation Missing perspective and backface-visibility

2 participants