jnhltmn Posted September 10, 2020 Share Posted September 10, 2020 Hi all, I defined my grid (44 rows, 79 columns). I don't get why my grid doensn't stagger from center like in the example ( See the Pen jdawKx by GreenSock (@GreenSock) on CodePen ). Could someone have a quick look? Thanks in advance! Jan See the Pen dyMmdOQ by jnhltmn (@jnhltmn) on CodePen Link to comment Share on other sites More sharing options...
elegantseagulls Posted September 10, 2020 Share Posted September 10, 2020 Hi @jnhltmn, I didn't have a chance to deep dive yet, but setting your stagger object to grid: 'auto', fixes it for me 1 Link to comment Share on other sites More sharing options...
elegantseagulls Posted September 10, 2020 Share Posted September 10, 2020 Hi @jnhltmn, Also, your grid is 45x80, not 44x79. 😀 1 Link to comment Share on other sites More sharing options...
jnhltmn Posted September 10, 2020 Author Share Posted September 10, 2020 haha, great! Thanks for counting those dots and helping me out! Link to comment Share on other sites More sharing options...
elegantseagulls Posted September 10, 2020 Share Posted September 10, 2020 3 minutes ago, jnhltmn said: Thanks for counting those dots I should have done a console.log(document.querySelectorAll(`[cx="9"]`).length);, but my pre-coffee brain counted each row. 😂 1 1 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