Are hardcoded dimensions a must for CSS animations and animations in general?
Hello!
I was goofing around with animations, and was tunnel-vision-ed with figuring them out, that I only did them for desktop version. And after triumphal results, the disappointment that sank in when I remembered It will not work in mobile version because of my hardcoded dimensions was something.
So, any workaround for this? I'm sure hardcoding them for every possible form your app takes is not the way to go. xD
Project in question if you are wondering how it looks: https://glistening-bombolone-928636.netlify.app/
I was goofing around with animations, and was tunnel-vision-ed with figuring them out, that I only did them for desktop version. And after triumphal results, the disappointment that sank in when I remembered It will not work in mobile version because of my hardcoded dimensions was something.
So, any workaround for this? I'm sure hardcoding them for every possible form your app takes is not the way to go. xD
Project in question if you are wondering how it looks: https://glistening-bombolone-928636.netlify.app/