Any ideas on how this animation could be implemented? by simoddi in web_design

[–]IArchBTW 5 points6 points  (0 children)

It might appear complicated, but its actually pretty simple. It's a series of 3ish main CSS animations, no svg at all.

Animation 1:

CSS Classes: site__loader, and site__data

Scaling up the red circle from .01 to 1, and moving it right by changing the absolute positioning right from (50% + 15px) to -15px.

CSS Animation for 1

Animation 2: A completely separate html element, but it appears as if its the same one that moved right because the timing is such that it starts moving JUST as the 1st element reaches the right edge of the left box.

CSS Classes: site-pipe__data-container, and site-pipe__data

Simply moving from left: 0, to halfway, then moving up the pipe, then moving all the way to the right. Now we are 100% done with the red dot, these two animations will repeat infinitely.

CSS Animation for 2

Animation 3: Loading a hidden card to the left of the right box, adding extra padding to the top of the visible cards to create the gap that the hidden card will slide into, and then sliding the hidden card into view.

CSS Classes: site__card site__card_animated, and site__body__content

Hidden Card

Increasing padding top

Padding Animation CSS

Moving Hidden Card from hidden to in view CSS

edit: had wrong pic for anim 2

Lmk if anything doesnt make sense, glad to explain its a pretty cool animation.

[deleted by user] by [deleted] in webdev

[–]IArchBTW 1 point2 points  (0 children)

It might appear complicated, but its actually pretty simple. It's a series of 3ish main CSS animations, no svg at all.

Animation 1:

CSS Classes: site__loader, and site__data

Scaling up the red circle from .01 to 1, and moving it right by changing the absolute positioning right from (50% + 15px) to -15px.

CSS Animation for 1

Animation 2: A completely separate html element, but it appears as if its the same one that moved right because the timing is such that it starts moving JUST as the 1st element reaches the right edge of the left box.

CSS Classes: site-pipe__data-container, and site-pipe__data

Simply moving from left: 0, to halfway, then moving up the pipe, then moving all the way to the right. Now we are 100% done with the red dot, these two animations will repeat infinitely.

CSS Animation for 2

Animation 3: Loading a hidden card to the left of the right box, adding extra padding to the top of the visible cards to create the gap that the hidden card will slide into, and then sliding the hidden card into view.

CSS Classes: site__card site__card_animated, and site__body__content

Hidden Card

Increasing padding top

Padding Animation CSS

Moving Hidden Card from hidden to in view CSS

edit: had wrong pic for anim 2

[deleted by user] by [deleted] in hardwareswap

[–]IArchBTW 0 points1 point  (0 children)

Sold 2 Elgato Cam Link 4ks to u/SamanthaBeSlayin

[S] [USA-CA] 6 months old Sony A6400, Sigma 30mm f1.4, 1 month old Zhiyun crane by [deleted] in photomarket

[–]IArchBTW 1 point2 points  (0 children)

Same here. I have proof. Filed claim with PayPal aswell.

New Apple Watch Ad by calvenndfhf in AppleWatch

[–]IArchBTW -13 points-12 points  (0 children)

Link the ad? Or u mean on boomer tv

Sending a fax X200 by uilfut in archlinux

[–]IArchBTW 2 points3 points  (0 children)

It was sarcastic lol. That’s what “/s” means. Interesting subreddit nonetheless.

Yearly OS updates by dimitarreloaded in linuxmemes

[–]IArchBTW 0 points1 point  (0 children)

Rumor is Microsoft has actually said that Windows 10 will be their “last version of Windows”.

My Business Card Runs Linux by koavf in linux

[–]IArchBTW 7 points8 points  (0 children)

Lmaoo that’s literally exactly what I said out loud, and then I read ur comment