79245686

Date: 2024-12-02 21:51:28
Score: 1.5
Natty:
Report link

You will need to fix the css, hide should transform from 300px to 0.

@keyframes submenu-hide {
  from {
    opacity: 1;
    transform: translateX(300px);
  }

  to {
    opacity: 0;
    transform: translateX(0);
  }
}

See working example: https://codesandbox.io/p/devbox/slide-menu-transition-p4t8mm

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ravi Nain