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

Sticky Header Effect #470

Closed
olvvlo opened this issue Oct 28, 2024 · 0 comments
Closed

Sticky Header Effect #470

olvvlo opened this issue Oct 28, 2024 · 0 comments
Labels

Comments

@olvvlo
Copy link

olvvlo commented Oct 28, 2024

Content language / 内容语言

English

Major content / 主要内容

Sticky Header: The header is fixed at the top of the page and changes its appearance based on scroll position.
Scroll Detection: We use the Intersection Observer API to efficiently detect when the user has scrolled past the header's original position.
Header Transition: The header transitions from a taller, opaque state to a shorter, semi-transparent state with a blur effect when scrolled.
Responsive Design: The component includes a mobile menu that can be toggled on smaller screens.
Accessibility: We've included proper ARIA labels and keyboard navigation support.
Content for Testing: The main content area is filled with lorem ipsum paragraphs to provide enough content for scrolling and testing the header behavior.

Style theme / 样式主题

Technical

Referred image / 参考图片

No response

@olvvlo olvvlo added the ui-gen label Oct 28, 2024
@olvvlo olvvlo closed this as completed Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant