@RayaneBengaoui
Posted
Hello Anna,
Once again you came with a nice idea on animations π
I really like the use of cubic bezier as a timing function to get this "coming back" effect at the end of the animation π
Just on your SASS part, instead of using @import with SASS, it's recommended to use @use because the first one is now deprecated.
You can find more information on the SASS official documentation (https://sass-lang.com/documentation/at-rules/import) where it's well explained. Also here is a great video of Kevin Powell that shows how to use it (https://www.youtube.com/watch?v=CR-a8upNjJ0).
Happy coding ! π
@brasspetals
Posted
@RayaneBengaoui Thank you! π
I'm currently using a VSCode extension to compile my Sass, so have to use @import. I'll admit I've been avoid making the switch. π The video was excellent though, and very informative - thanks for sharing! I'll try to not be so lazy about it, and make the change for my next project. π
@RayaneBengaoui
Posted
@brasspetals I was also using a live SASS compiler before but now I switched to Parcel for bundling and it's pretty convenient. π
Here is another video of Kevin Powell on how to use Sass with Parcel (https://www.youtube.com/watch?v=wYWf2m_yzBQ) to get the auto refresh while coding.