Red Bag Posted April 18 Share Posted April 18 I tried using UIKit's "uk-scrollspy-nav" to control the staggered cards. It successfully scrolls to the respective sections, but when clicking the Section 1 menu to scroll back to Section 1, Section 2 will overlap Section 1. Anyway to add the navigation menu to control the staggered cards? See the Pen yLrRXOj by redbad (@redbad) on CodePen Link to comment Share on other sites More sharing options...
Sahil Posted April 18 Share Posted April 18 You can use scrollTo plugin to scroll to certain element, but because you are animating sections, you can't use them as reference. Instead, you need to wrap them in another wrapper so you can use this wrapper in scrollTo. See the Pen jOReGmM by SahilAFX (@SahilAFX) on CodePen 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now