MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/10ffo7a/css_flex_for_speed_learners/j4zzrez/?context=9999
r/webdev • u/mutantdustbunny • Jan 18 '23
100 comments sorted by
View all comments
159
Source: https://semicolon.dev/tutorial/css/justify-content-examples
Oh my, that's how they made the bouncy animation:
jQuery( document ).ready(f=>{ setTimeout(e => { jQuery('table').animate({width: '450px'}, 2000, 'easeOutBounce').animate({width: '100%'}, 2000, 'easeOutBounce').animate({width: '450px'}, 2000, 'easeOutBounce').animate({width: '100%'}, 2000, 'easeOutBounce').animate({width: '450px'}, 2000, 'easeOutBounce').animate({width: '100%'}, 2000, 'easeOutBounce').animate({width: '450px'}, 2000, 'easeOutBounce').animate({width: '100%'}, 2000, 'easeOutBounce'); }, 1000) });
Anyways, here's my quick fix: https://i.imgur.com/PhzeOKq.gif
72 u/Isaynotoeverything Jan 18 '23 Could do this in pure CSS couldn't you 🤔 54 u/stupidcookface Jan 18 '23 Yea with @keyframes 6 u/arhythm Jan 19 '23 I really need to learn more css like this. 0 u/[deleted] Jan 19 '23 [deleted] 3 u/OxygenIsHere novice Jan 19 '23 It isn't animation attribute,i think it's called animation property 3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
72
Could do this in pure CSS couldn't you 🤔
54 u/stupidcookface Jan 18 '23 Yea with @keyframes 6 u/arhythm Jan 19 '23 I really need to learn more css like this. 0 u/[deleted] Jan 19 '23 [deleted] 3 u/OxygenIsHere novice Jan 19 '23 It isn't animation attribute,i think it's called animation property 3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
54
Yea with @keyframes
@keyframes
6 u/arhythm Jan 19 '23 I really need to learn more css like this. 0 u/[deleted] Jan 19 '23 [deleted] 3 u/OxygenIsHere novice Jan 19 '23 It isn't animation attribute,i think it's called animation property 3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
6
I really need to learn more css like this.
0 u/[deleted] Jan 19 '23 [deleted] 3 u/OxygenIsHere novice Jan 19 '23 It isn't animation attribute,i think it's called animation property 3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
0
[deleted]
3 u/OxygenIsHere novice Jan 19 '23 It isn't animation attribute,i think it's called animation property 3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
3
It isn't animation attribute,i think it's called animation property
3 u/Candyvanmanstan Jan 19 '23 You are correct of course, I had a brain fart.
You are correct of course, I had a brain fart.
159
u/The_Egg_came_first Jan 18 '23
Source: https://semicolon.dev/tutorial/css/justify-content-examples
Oh my, that's how they made the bouncy animation:
Anyways, here's my quick fix: https://i.imgur.com/PhzeOKq.gif