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

Pure css alternative of js sticky sidebar #142

Open
gustawdaniel opened this issue Mar 24, 2023 · 1 comment
Open

Pure css alternative of js sticky sidebar #142

gustawdaniel opened this issue Mar 24, 2023 · 1 comment

Comments

@gustawdaniel
Copy link

gustawdaniel commented Mar 24, 2023

https://stackoverflow.com/a/71129668/6398044

<div class="flex">
    <aside class="h-screen sticky top-0">
        // Fixed Sidebar
    </aside>

    <main>
        // Content
    </main>
</div>

What do you think about mentioning about it in README?

@patchthecode
Copy link

This doesnt handle all the cases. In fact, i came looking for this library because that method above does not work for me.

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