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

The nav links is invisible but are still clickable? #75

Open
titieo opened this issue Jul 15, 2021 · 3 comments
Open

The nav links is invisible but are still clickable? #75

titieo opened this issue Jul 15, 2021 · 3 comments

Comments

@titieo
Copy link

titieo commented Jul 15, 2021

I've tested this on both Brave and FireFox. I've tried to fix this and it works. May you update the code please, thanks.

My code is here (sass/layout/_navigation.scss)
.navigation {
&__link {
            display: none;
    }

&__checkbox:checked ~ &__nav &__list &__item &__link {
        &:link,
        &:visited {
            display: inline-block;
        }
    }
}

https://user-images.githubusercontent.com/64778285/125754742-0c800d4c-b420-4030-a688-9121b2131299.mp4
2021-07-15 (2)
2021-07-15 (3)

@babatunde946
Copy link

babatunde946 commented Oct 19, 2021

New Text Document.txt
New Text Document (2).txt
copy this code and paste in the navigation.scss

@Suhail-007
Copy link

You don't need to give nav z-index of -1, set pointer events to none on initial state of nav and back to auto when checked.

@creatinnomitul
Copy link

Try other one to add visibility hidden and visible

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

4 participants