Yeh there's probably a way to make it work by shifting tags from the start to the end if you're going next, or from the end if you're going previous! I haven't tried to give it a go but I might see if I can get it working over the weekend!
Exactly, I think it's like the best design... from a design point of view it seems simple, but from an implementation point of view, it seems like it'd be complex, but it's really the ingenious of having not been done before!
Awesome! It's so amazing that you can build such a beautiful website with some lines of JavaScript! Would love to build the complete website including the working grid toggle :)
Ooooohhhh right, the Grid on our version? That was just some placeholder text to be honest! But all you'd need to do is add in a function to listen out for that link to be clicked, then you would turn the section into a grid of, say, repeat(3, 1fr) instead of the new grid layout. Something like this: gist.github.com/riklomas/fcb6525542ce4d32e9aeec56b8af49a4
I think the best way would be to have several 'patterns' so that when you're on smaller screens you could pick from different versions. I did a quick version here: gist.github.com/riklomas/8f635a016c75eb975cf18572c4ee8d90
Thanks a lot Rick@@SuperHi. I like the solution you've come up with the JS media queries. However I'm not sure to understand how we could add a third parameter inside 'patterns', for example 'tablet', if we only have one const 'matcher'
We'd just make another matchMedia and check against that (similar to CSS breakpoints) and then pick the size from there! Something like this gist.github.com/riklomas/827c6994d453ede7611e46bf85f67110
Really great tutorial 👍 can you also make a tutorial on how that website kind of has zoom in transition to their homepage? Is it possible with using just vanilla js? Btw thanks for sharing your knowledge ❤
please revive this series, so good
is there any possibilty not just to jump to the begining, an infinte loop instead?¿
Yeh there's probably a way to make it work by shifting tags from the start to the end if you're going next, or from the end if you're going previous! I haven't tried to give it a go but I might see if I can get it working over the weekend!
I always enjoy hearing your perspective! Impressive breakdown of an otherwise “complex” effect!
Exactly, I think it's like the best design... from a design point of view it seems simple, but from an implementation point of view, it seems like it'd be complex, but it's really the ingenious of having not been done before!
love the wonky slide!
Me too! It's such an effective design feature!
Awesome! It's so amazing that you can build such a beautiful website with some lines of JavaScript! Would love to build the complete website including the working grid toggle :)
Yes! Sometimes the most effective designs are very simple under the hood! Which working grid toggle btw? Wasn't sure what you meant!
Oh the top right! Seems like in Demo the Grid toggle does not work, so want to also build the one works :)
Ooooohhhh right, the Grid on our version? That was just some placeholder text to be honest! But all you'd need to do is add in a function to listen out for that link to be clicked, then you would turn the section into a grid of, say, repeat(3, 1fr) instead of the new grid layout. Something like this: gist.github.com/riklomas/fcb6525542ce4d32e9aeec56b8af49a4
@@SuperHi Oooh, thanks for the tips
your tutorials are really great, i feel like i learn a lot of the best process on how to tackle a problem , thank you
Happy to hear that! We have a lot more on their way!
Great tutorial! Would love to see how to convert the grid in 2 columns (for example) when detecting touch devices or under a certain width : )
I think the best way would be to have several 'patterns' so that when you're on smaller screens you could pick from different versions. I did a quick version here: gist.github.com/riklomas/8f635a016c75eb975cf18572c4ee8d90
Thanks a lot Rick@@SuperHi. I like the solution you've come up with the JS media queries. However I'm not sure to understand how we could add a third parameter inside 'patterns', for example 'tablet', if we only have one const 'matcher'
We'd just make another matchMedia and check against that (similar to CSS breakpoints) and then pick the size from there! Something like this gist.github.com/riklomas/827c6994d453ede7611e46bf85f67110
Thank you!@@SuperHi
Really great tutorial 👍 can you also make a tutorial on how that website kind of has zoom in transition to their homepage? Is it possible with using just vanilla js? Btw thanks for sharing your knowledge ❤
awesome!!!
Thanks!! It’s a fun one isn’t it?
Let's goooo
Yessssssss it's a great effect, innit??