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

Transition delay improvement - Listing 15.10 #8

Open
pradoh97 opened this issue Aug 27, 2020 · 0 comments
Open

Transition delay improvement - Listing 15.10 #8

pradoh97 opened this issue Aug 27, 2020 · 0 comments

Comments

@pradoh97
Copy link

Instead of applying transition-delay to the nav labels always, just apply it on hover. Changing the selector from:
.nav-links > li:nth-child(n) .nav-links__label
to
.nav-links:hover > li:nth-child(n) .nav-links__label
helps preventing the delay when using tab to navigate (different timings in appearances are noticeable) also it removes the delay while transitioning from the hover to the normal state.

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

1 participant