Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game menu #202

Open
vasilich6107 opened this issue May 2, 2023 · 2 comments
Open

Game menu #202

vasilich6107 opened this issue May 2, 2023 · 2 comments

Comments

@vasilich6107
Copy link

vasilich6107 commented May 2, 2023

We can also add something like

.menu-3d .button-set-3d > li:is(:hover, :focus-visible):not(:active) {
  --menu-3d-distance: 3vmax;
}

.menu-3d .button-set-3d > li button:not(:active) {
  transition-timing-function: var(--menu-3d-bounce-ease);
  transition-duration: 0.4s;
}

to reduce glitch when button popus up and automatically loses focus)
When we move the mouse relatively slowly.

Mostly relates to top most and bottom most buttons)

@argyleink
Copy link
Owner

oh like this mitigates the hover effect that move the button in or out of the mouse's hover target zone? able to make a codepen or video that compares them for me?

@vasilich6107
Copy link
Author

Will try to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants