+ Motion Engine: Missing Keyframes Demo +
+
+ 6 animations silently fail via em="" DSL because their
+ @keyframes are missing from core/animations.css.
+ This demo proves they work correctly after the fix.
+
Spin
+em="spin" → failed
em="spin 2s linear repeat-infinite"+
Wobble
+em="wobble" → failed
em="wobble 1s ease repeat-infinite"+
Flip X
+em="flip-x" → failed
em="flip-x 800ms ease repeat-infinite"+
Flip Y
+em="flip-y" → failed
em="flip-y 800ms ease repeat-infinite"+
Heartbeat
+em="heartbeat" → failed
em="heartbeat 1.5s ease repeat-infinite"+
Rubber Band
+em="rubber-band" → failed
em="rubber-band 1s ease repeat-infinite"+
What's wrong?
+
+ The engine's KEYFRAME_MAP in easemotion/engine/compiler.js
+ references these 6 @keyframes, but they were never defined in
+ core/animations.css. The parser accepts the names but compilation
+ produces CSS referencing non-existent keyframes — resulting in zero visible motion.
+
+ Fix: The @keyframes in style.css need to
+ be promoted into core/animations.css as ease-kf-spin,
+ ease-kf-wobble, ease-kf-flip-x, ease-kf-flip-y,
+ ease-kf-heartbeat, and ease-kf-rubber-band.
+ Utility classes .ease-spin, .ease-wobble, etc. should also
+ be added for plain CSS usage.
+