Hacker News new | past | comments | ask | show | jobs | submit login

Oh hey Shawn!

Yup, I used Stylus mixins for this. I just mean I didn't use something like Framer or an animation library :)

Here's the code (I don't expect it to make any sense to anyone other than me!)

https://pastebin.com/A6zStqmt

(There's a bug in that code causing two `from`s! Seems it's moot since it works, but I fixed it on my end. Here's the updated code: https://pastebin.com/Y6JwkZi4)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: