-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Trigger css :target or add active class on scroll to header #2065
Comments
can someone assign me this task i wants to work upon it |
Hi @MrDev706 , PR welcome. |
Hi @dt192 , I think maybe put some |
can someone assign me this task i wants to work upon it |
Hi @aryanq123 , PR welcome. |
Willing to work on it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request
Trigger css
:target
or add active class on scroll to headerWhat problem does this feature solve?
Currently when you click on a link, the page scrolls to header, however on short pages or targets near the end of the page they can't scroll, so it provides no help in finding the section.
If
:target
was triggered or a class added to the active anchor target I would be able to add a marker next to the section flash the header flashing to draw attention etc.https://www.w3schools.com/cssref/tryit.php?filename=trycss3_target
What does the proposed API look like?
idk
How should this be implemented in your opinion?
idk
Are you willing to work on this yourself?
no
The text was updated successfully, but these errors were encountered: